-
how is it possible to have a button that pressed once stops a movie and then when pressed starts it again.
it is easy to do if you have seperate buttons
but i only want one
-
Hi...
The following example stops and starts the main timeline:
1) Insert/New Symbol/Movie.
2) Frame1: Add a button with the script:
on (release) {
_root.play();
gotoAndStop (2);
}
3) Add a blank keyframe at frame 2 and place another instance of the same button there. Add the script:
on (release) {
_root.stop();
gotoAndStop (1);
}
Good luck.
-
Originally posted by Marx
Hi...
The following example stops and starts the main timeline:
1) Insert/New Symbol/Movie.
2) Frame1: Add a button with the script:
on (release) {
_root.play();
gotoAndStop (2);
}
3) Add a blank keyframe at frame 2 and place another instance of the same button there. Add the script:
on (release) {
_root.stop();
gotoAndStop (1);
}
does it matter though if the movie i am trying to control
is another movie residing in the main timeline
olison
Good luck.
-
Hi..
Makes know difference, all you need to do is adjust the scripts so they point to the MC your targeting.
on (release) {
myMovie.play();
gotoAndStop (2);
}
Hope this helps.
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
|