-
gotoAndPlay Question
i have a button inside a movie (so it can has an animation on rollover and rollout) and i want it to gotoAndPlay a frame in my "main" scene. so i added
on(release)
{
gotoAndPlay("main",115);
}
in all the places where there are keyframes in my movie clip for the button. then when i test it out in the .swf , it does nothing.
-
Scene names are useless, in this case!
Best method... Label the targeted frame with a unique label such as unique1, add _root to your script and target that labeled frame.
on (release){
_root.gotoAndPlay("unique1");
}
-
sweet, you own dude, thanks a lot
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
|