ForumsProgramming ForumHow would I refer to a group of objects by one name on AS2?

3 3474
darkscanner
offline
darkscanner
5 posts
Nomad

EX: movieclip1, movieclip2, and movieclip3 are refer to as movieclip123 so when I say: on(rollOver){movieclip123._x=5;} It would move movieclips 1, 2, and[quote] 3.

  • 3 Replies
darkscanner
offline
darkscanner
5 posts
Nomad

Hello? Anyone?

Koshionos
offline
Koshionos
881 posts
Jester

Did you try putting all the movie clips into single object? (an object within an object)


Thus you could label that as one object, and it seems you want all the objects to work at the same time, yes?

scs621
offline
scs621
7 posts
Nomad

you can`t.
you can give only one name to an object.
so do like this:
Movieclip1._x+=5;
Movieclip2._x+=5;
Movieclip3._x+=5;

Showing 1-3 of 3