USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 10/29/05 08:01 PM
Sign-Up: 08/07/04
Posts: 11
I need know
can I set a variable with two or more targets
Exemple:
N = "A" ?? "B" ?? "C";
Posted at: 10/29/05 08:14 PM
Sign-Up: 09/09/05
Posts: 737
hwo about you take you question to the actionscript forum?
Posted at: 10/29/05 08:23 PM
Sign-Up: 07/12/05
Posts: 4,620
At 10/29/05 08:14 PM, barnwell17 wrote: hwo about you take you question to the actionscript forum?
OMG! Noob!
Anyways, use arrays:
letters=new Array("blah","blah2","blah3");
"However, the game received only two orders, one of which Molyneux speculated was from his mother." -Peter Molyneux's first game The Entrepreneur
Posted at: 10/29/05 08:26 PM
Sign-Up: 05/01/05
Posts: 1,866
wtf???
n00b!!!
What does your brain taste like? | Ask me a question! | Best site ever.
Posted at: 10/29/05 08:59 PM
I wanna set "A,B,C" with the same position wihtout make various actions
this action no work
onClipEvent (enterFrame) { p = new Array("A", "B", "C"); setProperty(p, _x, 200); }
how can work?
Posted at: 10/29/05 09:05 PM
Sign-Up: 06/08/03
Posts: 4,314
At 10/29/05 08:59 PM, light-of-darkness wrote: I wanna set "A,B,C" with the same position wihtout make various actions this action no work onClipEvent (enterFrame) { p = new Array("A", "B", "C"); setProperty(p, _x, 200); } how can work?
setProperty is gay.
you cant set an array's _x value, stupid.
spamburger gave you the right code. use it.
{ AMD Athlon 64 X2 5200+ 2.6 GHz - two 320 GB HDDs in RAID 0 - NVIDIA GeForce 8800 GT - Gyration mouse - Razer Tarantula keyboard - 2 GB Corsair RAM } (:
Posted at: 10/29/05 09:11 PM
Sign-Up: 10/05/04
Posts: 15
onClipEvent(load){ p = new Array("A", "B", "C"); } onClipEvent (enterFrame) { p[0]._x = 200; p[1]._x = 200; p[2]._x = 200; } I think that's what you're trying to do...? It might be easier just to make 3 variables.
Posted at: 10/29/05 09:23 PM
2k_rammerizkool tell us your wisdom "gandmaster"
Posted at: 10/29/05 09:27 PM
you are the best MrJiggmin
thankyou
Posted at: 10/30/05 09:19 AM
At 10/29/05 09:23 PM, light-of-darkness wrote: 2k_rammerizkool tell us your wisdom "gandmaster"
what kind of wisdom do you want, you mere mortal.
All times are Eastern Standard Time (GMT -5) | Current Time: 11:50 AM
<< Back