-
gotoAndPlay
Hey.
I am working on this project . . . big whopty do, however i am having and issue, alright i have 4 MCs One inside another inside another . . . blah and blah till we get to the fourth MC now this MC consists of three layers, top one actionscript second one animation, third one is a button. all these layers spand 13 frames. This MC is actions and motion for a rollever button. The previous MC is just animation. With basic stop action on frame 10, it consists of 15 frames.
The problem i am having is that when i click this button which is in the fourth MC i need it to goto frame 13 in the previous MC, as you guess it is not. I have frame 13 in the third MC labeled Motion i have on this frame a stop action. so when button in fourth MC is pressed it does not goto frame 13 in previous MC. My actionsript on the button is:
on (rollOver, dragOver) {
btnPlay = true;
play();
}
on (rollOut, dragOut) {
btnPlay = false;
play();
}
on (release) {
gotoAndPlay(Motion);
}
I am not sure why it is not working, does anyone have any ideas that could be of assistance? I would Really Appritiate help. Thanks a lot.
-
\/\/EB/\/\ASTER
Code:
on (rollOver, dragOver) {
btnPlay = true;
play();
}
on (rollOut, dragOut) {
btnPlay = false;
play();
}
on (release) {
_root.gotoAndPlay("Motion");
}
Try that .
-
Yeah, i tried that before, does not work. Tried it again just in case i messed up, does still not work. Thanks however i appriciate the thought . . .
-
\/\/EB/\/\ASTER
Sorry, I did not read all of your post before
Code:
on (rollOver, dragOver) {
btnPlay = true;
play();
}
on (rollOut, dragOut) {
btnPlay = false;
play();
}
on (release) {
_parent.gotoAndPlay("Motion");
}
-
I didn't think _parent. would work. Yeah, thanks a million, that helped alot/fixed my issue. Appriciate the assistance alot!
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
|