About
Pricing
Community
Teams
Start Free Trial
Log in
zerog
asked on
12/27/2012
Button sound on mouseover
Greetings.
How do I add a 'click' sound on mouseover that will apply to all buttons in my flex project? Looking forward to your responses.
Thanks
Apache Flex
4
1
Last Comment
zerog
8/22/2022 - Mon
Peter Hart
12/27/2012
Im not a flex expert but the following forum seems to answer your question.
http://www.actionscript.org/forums/showthread.php3?t=97253
ASKER CERTIFIED SOLUTION
CyanBlue
12/27/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
zerog
12/27/2012
ASKER
CyanBlue I've tried your response but get the following error, maybe I'm implementing it incorrectly.
Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at outreach/onRollOver()[C:\o
utreach\sr
c\outreach
.mxml:35]
at outreach/___outreach_Butto
n19_mouseO
ver()[C:\o
utreach\sr
c\outreach
.mxml:290]
This is the code for one of my many buttons in the interface
<s:Button includeIn="State1" width="158" height="170"
label="Learn the link"
color="#FFFFFF" fontSize="22" horizontalCenter="310" skinClass="skins.TransBtn2
"
verticalCenter="-2"
click="currentState='inter
face1'"/>
zerog
12/28/2012
ASKER
Got it working. My path to the sound file was incorrect. Thank you for a really simple solution.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
http://www.actionscript.org/forums/showthread.php3?t=97253