-
movie tell target stuff
My question is this. While figuring out how to get a movieclip to tell another movieclip to play, I read in the flash 5 action script reference that I shouldn't use the telltarget action, that it's not ECMA-62 compliant, whatever that is.
What would be the best most effecient way?
(To make a movie clip tell another movie clip to play for example.)
I've tried several examples provided by Flash but couldn't get them to work.
So if anyone could set me up, that would be great, thanks!
-gracerx
-
Hi...
Basically, the Tell Target action has been replaced by the With function...so, to tell a movieclip on the main timeline to play you would use:
with (_root.mc) {
gotoAndPlay (2);
}
and to target a nested movieclip you would use:
with (_root.mc1.mc2) {
gotoAndPlay (2);
}
-
hi,
the with function makes sense if you want to "tell" the clip lot of stuff..
easier is:
_root.mc.gotoAndPlay(2);
-
Thanks!
Thanks guys!
Though now I have to go back and rewrite a little...lol!
Dang!
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
|