-
Hi all!!
I need some help. I used normally the tell target action, but now I like to use the object.
movieclip.play(); <-- I want this.
the problem is that I made a mask effect tha duplicates 50 movieclips. My problem is that when I want to tell them the play(); action to each of them I don't know how to do it. With tell target I use:
tellTarget("fmask"+i) {
play();
}
How do I do that object oriented.
fmask[i].play(); ??
Thank you a lot!!!
-
Senior Member
If you have clips named
fmask0, fmask1, fmask2,..., fmask49
you could get them all to play using
for (i = 0; i < 50; ++i) {
this["fmask" + i].play();
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|