-
Strange that the simplest things don't work.
If you place a button in a movieclip and give it the action "go to scene", why o why doesn't it work. Every other action works except going to the scene. You can't address levels, like with variables. I wonder why I'm having this trouble, can anybody try and check this out.
Weird
Greetz Peetz
-
Hi...
You can only target another scene by first targeting the root and then a frame label in the other scene:
on (release) {
_root.gotoAndPlay("sceneTwoLabel");
}
Good luck.
-
hm... you should post the real code u used - pseudo code gives us no idea of what you did or want to do...
have u tried this?
on (release) {
gotoAndPlay ("Scene 2", 1);
}
if not try it
Yours
HTD
-
Still don't work
Say Mark,
So you are saying go to scene, choose target as label and specify the target with the crosschairicon to a named label in scene 2. The target specification can only be done in the third input box. I tried a quick example but it didn't work. I'll try again...
I didn't ever had this trouble befor in Flash 4.
Sorry for the pseudo rap, but the action is that simple that I didn't mention it.
Howard(TheDuck) try it your self and you see what I mean.
Place your code in a button and than place it in a movieclip.
It won't work.
You must target the scene like Mark suggests. Normally this is done in the top input box. I never imagined to wring it by using a label.
Greetz Peetz
-
Hi...
You can only target other scenes, from an MC, if you target the root and a frame label:
1) Select a frame in another scene and label it 'sceneTwoLabel'.
2) Add the code to the button:
on (release) {
_root.gotoAndPlay("sceneTwoLabel");
}
Better still, copy & paste the above code directly into the actions panel to see how it works.
I entered the above code using the 'evaluate' action found under the actions menu.
Good luck.
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
|