-
I have done this before lots of times but for some reason i just can't remember how to do it. I want to play a frame on the main timeline from a moive clip when the button in the moive clip is pressed.
I tried.
on (press) {
_root.gotoAndPlay(Main, 46);
}
But it wont work, it works if i just put in the frame number, execpt it plays the intro scence instead of the main scene. Any help would be appreciated.
Thanks
-
Sometimes Scene Gotoandplays are screwy.
Try a frame label. on the first frame of the scene. that should work.
-
You might try putting a frame label on the first frame of your scene and try telling _root to go to that.
I know everyone is gonna yell at me, but what I do for these is use a tell Target. If you use a tell Target and pick the scene from the drop down boxes, it works every time for me.
I'm sure someone else will come along with the non-deprecated way to do it.
-
Hey thanks alot guys, the frame label worked perfectly. I didn't know that the frame number way was screwy sometimes anyways thanks alot I really apreciate it
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
|