simophat
asked on
turn sound volume on and off with one button
HI,
i would like to create one button that users can click to TURN VOLUME to ZERO and then click again to TURN VOLUME BACK UP to Full.
currently all sounds have been embedded in the library and played as seperate events on 2 layers of the timeline. They are started and stopped according to whats happening on the timeline.
also if possible I want the button to change according to whether or not the volume is up or down.
So say the music is playing and i click the 'volume on/off' button, the volume turns down, i would like the button to do a little shake animation, up and down and then change so that it enlarges in size.
Then i click it again and the volume turns back up, and the button does a little shake animation and decreases to its original size.
thanks for your help..
Simon
i would like to create one button that users can click to TURN VOLUME to ZERO and then click again to TURN VOLUME BACK UP to Full.
currently all sounds have been embedded in the library and played as seperate events on 2 layers of the timeline. They are started and stopped according to whats happening on the timeline.
also if possible I want the button to change according to whether or not the volume is up or down.
So say the music is playing and i click the 'volume on/off' button, the volume turns down, i would like the button to do a little shake animation, up and down and then change so that it enlarges in size.
Then i click it again and the volume turns back up, and the button does a little shake animation and decreases to its original size.
thanks for your help..
Simon
ASKER
That script was action script 1. My flash application is actionscript 2 . is it possible to use action script 1 with actionscript 2 flash fileS?
simon
simon
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://ffiles.com/flash/media_players/mute_button_with_fade_v2_1978.html