|
-
I have posted this question before but not too clear, so I deleted it and make a new thread.
Simple movie contains 2 scenes. Scene 1 has a movie clip named A. Inside A, there is a button. I want to move to a NEXT scence on the main time line everytime I clik that the button in MC A.
Using nextScene(), preScene() is possible with this? Or I have to label the scene, and using gotoAndPlay()? I don't want to label the scenes becuz the movie can get up 100 scenes.
-
to go to the next scene using nextScene(); on a button inside a MC won't work however you can work around it by:
on the main timeline create a custom function like so:
function goToNextScene() {
gotoAndStop(nextScene());
}
Then you can goto the next scene from anyWhere in you movie by calling this function:
on (release) {
_root.goToNextScene();
}
-
That will work but I wish I could use _root.nextScene(). If using your way, then we have to create that function in every scene in order to make it work, just like labeling the scene. Too much work
[Edited by rapidcarbon on 07-13-2001 at 01:31 PM]
-
easily distracted
I don't know for sure, but did you try just putting
on(release) {
_root.gotoAndStop(nextScene());
}
in the button?
It might work...
-matt
-
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
|