The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 Viewssup, I have a question for this game im making. I need a movie clip, the 'object' to move from point A to point B. But, I need a code for when you touch the 'object' with your mouse, it send you to Scene 2, Frame 1 and stop.
So basically its a movie clip button? I can't get it to work. Please help.
Touch? You mean mouseover? Or when you click it? If its mouse over use this:
on (rollOver) {
gotoAndStop("Scene 2", 1);
}
put that on a movie clip or button symbol or whatever you have.
However, if it is a click, replace rollOver with "release"
Put a button inside the movie clip with a code something like
on (release) {
nextScene();
}
I hope that helps.
But you cant put those actions in the button. Only in the movie clip.
I made a movie clip, and put the actions _otacon_ said in there. This error came up.
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 2: on handlers may not nest within other on handlers
on (rollOver) {
Like the error suggests you used to "on" handlers. Just copy paste the exact code i gave you, only changing the 2nd scene's name.
The error means he had an on handeler and he put your script which is another onhandeler in it
Yes. That is what i said.
At 8/3/04 04:26 AM, _otacon_ wrote: Like the error suggests you used to "on" handlers. Just copy paste the exact code i gave you, only changing the 2nd scene's name.
Woops. Typo.
Like the error suggests you used two "on" handlers. Just copy paste the exact code i gave you, only changing the 2nd scene's name.