Well, you first have a global gbSoundState

The button code, on beginSprite, checks the value of gbSoundState.  If it's 
VOID, set it to TRUE.  Then, if it's TRUE, do your sound stuff/graphics 
stuff.  If it's FALSE, do that sound/graphics stuff.

Then, have the mouseDown or mouseUp trigger what needs to happen, and set 
the value of the global (could even gbSoundState = NOT(gbSoundState)).

So, when you start, it initializes your global, sets itself up.  When you 
jump from movie to movie, the button sprite queries the global and decides 
what to do.  clicking the button also updates the global.

roymeo

At 09:12 AM 1/17/02 -0600, you wrote:
>I am at the end......I need a script that will control a sound of /on 
>toggle button...BUT...it needs update the button in other movies as well!
>
>For example:
>
>The main movie has a sound control toggle button placed in the upper right 
>hand corner..the user can toggle the sound off and on at will (easy 
>enough).  on the bottom of the main movie are the main navigation buttons 
>that "go to movie".  These other movies resemble the main movie with only 
>a few design differences and in the same location as the main movie..sits 
>the sound control toggle button!  I need the toggle button to represent 
>whatever state was selected in the main movie throughout the other 
>movies....HELP
>--
>[To remove yourself from this list, or to change to digest mode, go to 
>http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
>[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L 
>is for learning and helping with programming Lingo.  Thanks!]


-----
Roy Crisman
Senior Macromedia Programmer
(585)724-4054
[EMAIL PROTECTED]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to