|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
quit button for standalone player
Hi, I'm trying to create a button that closes the standalone player when it's pressed (I'm using Flash for developing a CD rather than on the Web). I've created the graphic in its 4 stages and added the action onrelease / fscommand quit. Only nothing happens when I open the projector movie and press the button. I'm new to Flash so maybe I've missed something obvious. Can the standalone player be controlledwith a button? Is there another step besides creating the instance and adding the action? Thanks, Phyllis
|
|
#2
|
|||
|
|||
|
Howdy...
What you are looking for is fscommand... Try this code for the button with its instance name set to Btn_Quit... PHP Code:
|
|
#3
|
|||
|
|||
|
Hm. Thanks for your help, but no luck with it.
The Flash syntax was similar to above, but I tried replacing with yours too and had no luck either way. I'm trying to use the standalone player at full-screen but still want to give people an obvious way to close it. |
|
#4
|
|||
|
|||
|
Um... Okay... Here is a simple sample that you can use to create a projector with it... Try and tell me if it works or not...
![]() |
|
#5
|
|||
|
|||
|
Hah! Okay I figured out what I did. I think. I had the button on a layer with something else so I guess it has to be separate. I fear I don't know enough of the basics yet... Thanks for the sample. I pondered it for a while.
![]() |
|
#6
|
|||
|
|||
|
(Should all buttons be on separate layers?)
|
|
#7
|
|||
|
|||
|
It doesn't really matter... Layer is there for two reasons... One is for your eyes only, and hence the second being the top one always cover the bottom layer... That's the only thing you need to remember about the layer...
![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > quit button for standalone player |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|