Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash button problem with sound

Status
Not open for further replies.

CoolDarkDragon

Technical User
Apr 4, 2004
2
US
I have a problem where I have a button, It goes where I want it to direct to, but I also want it to play a sound when I roll over it, and also when i click it. How would I do this?
 
You could simply add the sounds on the Over & Down states, on their own layer, while in the edit mode of your button.

Or you could define soundObjects and control their playing with onRollover & onPress handler functions on your button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top