|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
a probably dumb question
Hi, I'm new to the forum, and fairly new to Flash.
I'm building a Flash tour for our company site and I want to have a play/pause button. How do I get the button to change from the "pause tour" button to the "resume tour" button while the tour is paused? thanks! |
|
#2
|
|||
|
|||
|
One way you can do it is make the two buttons (play, and pause) and place both of them in a Movie Clip symbol with two frames. Put the play button in frame 1 and the pause button at frame 2. Make sure you put a stop action in the frames so they don't play automatically.
Next... place the Movie Clip in the main timeline and name it as well. Go back inside of your Movie Clip and put an action on the play button that will change the frames when you click on it. For example if your Movie Clip is named butns_Stage and your actionscript will be something like this: on (release) { tellTarget ("_root.butns_Stage") { gotoAndStop(2); } } That will swap it to the pause button on frame two. Hope this helps. |
|
#3
|
|||
|
|||
|
Thanks Lunatech! That was just the ticket!
-Dave |
|
#4
|
|||
|
|||
|
wow that was pretty simple! thanks lunatech! a whole new world of theories has open up! haha
|
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > a probably dumb question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|