Forum Topic: question

(219 views • 9 replies)

This topic is 1 page long.

<< < > >>
None

light-of-darkness

Reply To Post Reply & Quote

Posted at: 10/29/05 08:01 PM

light-of-darkness LIGHT LEVEL 02

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";


None

bwell

Reply To Post Reply & Quote

Posted at: 10/29/05 08:14 PM

bwell EVIL LEVEL 15

Sign-Up: 09/09/05

Posts: 737

hwo about you take you question to the actionscript forum?


None

SpamBurger

Reply To Post Reply & Quote

Posted at: 10/29/05 08:23 PM

SpamBurger NEUTRAL LEVEL 15

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


None

EmoNarc

Reply To Post Reply & Quote

Posted at: 10/29/05 08:26 PM

EmoNarc LIGHT LEVEL 11

Sign-Up: 05/01/05

Posts: 1,866

At 10/29/05 08:14 PM, barnwell17 wrote: hwo about you take you question to the actionscript forum?

wtf???

n00b!!!


None

light-of-darkness

Reply To Post Reply & Quote

Posted at: 10/29/05 08:59 PM

light-of-darkness LIGHT LEVEL 02

Sign-Up: 08/07/04

Posts: 11

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?


None

Rammer

Reply To Post Reply & Quote

Posted at: 10/29/05 09:05 PM

Rammer DARK LEVEL 31

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 }

(:


None

Jiggmin

Reply To Post Reply & Quote

Posted at: 10/29/05 09:11 PM

Jiggmin NEUTRAL LEVEL 15

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.


None

light-of-darkness

Reply To Post Reply & Quote

Posted at: 10/29/05 09:23 PM

light-of-darkness LIGHT LEVEL 02

Sign-Up: 08/07/04

Posts: 11

2k_rammerizkool tell us your wisdom "gandmaster"


None

light-of-darkness

Reply To Post Reply & Quote

Posted at: 10/29/05 09:27 PM

light-of-darkness LIGHT LEVEL 02

Sign-Up: 08/07/04

Posts: 11

you are the best MrJiggmin

thankyou


None

Rammer

Reply To Post Reply & Quote

Posted at: 10/30/05 09:19 AM

Rammer DARK LEVEL 31

Sign-Up: 06/08/03

Posts: 4,314

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.

{ 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 }

(:


All times are Eastern Standard Time (GMT -5) | Current Time: 11:50 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!