Subscribe to our newsletter:
Step Four: Left Button
1. Create a new Layer called: Left Button
2. Remove the last frame of this Layer. Once you get to the last frame there is no more left to go unless you want the movie to loop back to frame one.
The last frame of the left button layer is gone.
3. Place a button on Stage.
Note: If you take a button from the Common Button Library avoid Knobs, Faders and Component buttons as they work differently.
4. Attach the following script to the button:
on (rollOver) {
play();
}
on (rollOut) {
stop();
}Quite straight forward: The movie plays when the mouse is over the button and stops when the mouse moves away.
question Posted on 08/25/2008
is there any way that i can insert buttons that would skip to a section of the image or information within the movie clip. like a short cut that takes me to the area i want.
help Posted on 08/25/2008
Hey,
this is perfect for a project i am working on. i like the simplicity of the lesson. but i am having problems. my buttons won‘t work and it says there are issues with the code and having trouble being allowed to put code on the button. any help would be much appreciated.
thanks





help
and feedback
latest
news
latest
forum entries