Copy link to clipboard
Copied
I'm working on a project with two scenes. Scene was has a robot walking that fades to black.. Scene 2 is similar to this: How to create a Mask Effect in Flash - YouTube
The problem I'm having is the robots loop cycle. It loops through scene 1 and 2 nonstop. I've done some research and found this.Scene1.stop(); and put it on the last frame of scene 1 then scene 2. At the end of scene 1 it stops at the end of scene 1 At the end of scene 2 it stops at the end of the scene but then I can't move the cursor either. Any help will be greatly appreciated. Thank you.
You can select the movieclip on the stage and in Properties set it to be Graphic. No need to remake it.
It can even stay as movieclip in the Library, but as that could confuse things later you can also set it to be Graphic in the properties panel for the library symbol.
Copy link to clipboard
Copied
Is the robot in the timeline, or are you adding it with code?
I haven't heard of this.Scene1.stop();
Normally if the robot is in the timeline, and it exists in scene 1 but not in scene 2, you should only see it in scene 1. If you added it with code you would want to remove it with code in the last frame of scene 1, or the first frame of scene 2.
Copy link to clipboard
Copied
The robot is in the timeline. No code was used to add it.
"this.Scene1.stop(); is actionscript code supposed to be added to the last fram of it's layer
in order to halt the loop, and go into scene 2 which is a game of find the object, in this case the
body parts of the robot.
Currently it just loops through scene 1 and 2.
Copy link to clipboard
Copied
You really shouldn't be using scenes at all.
Copy link to clipboard
Copied
I wasn't sure what else to do. I'm new at animate. The first part of the video is a robot walking then the scene fades to black and the robot supposedly has an accident. The second part I use a masking effect I learned from here, How to create a Mask Effect in Flash - YouTube , to find the robots body parts scattered about.
Copy link to clipboard
Copied
Answer found. The issue was I made it as a movie clip which loops. I have to remake it as a graphic and I can select play once.
Copy link to clipboard
Copied
You can select the movieclip on the stage and in Properties set it to be Graphic. No need to remake it.
It can even stay as movieclip in the Library, but as that could confuse things later you can also set it to be Graphic in the properties panel for the library symbol.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now