|
-
[F8] script problem...for a button
I have a big problem with this script:
on (rollOver) {
this.gotoAndPlay("s5");
}
on (releaseOutside, rollOut) {
this.gotoAndPlay(_totalframes-_currentframe);
}
on (release) {
gotoAndPlay("Scene 2", 1);
}
because I can't understand what happen with the button... I need to go the scene 1 to scene 2. I think is simple but the button is wrong for something.
Thanks for your help.
-
FK'n_dog
use frame labels and
(as you don't specify any movie heirachy in your post) add a path - _root
give the target frame a label, say - sc2fr1
on (release) {
_root.gotoAndPlay("sc2fr1");
}
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
|