I just need some direction on how to go about playing an audio clip on an on click from Javascript.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In order to talk back and forth from flash to javascript you should use the flash.external.ExternalInterface class and callbacks.
Flash as3
HTML Page
Forgive me for any errors, the code is untested but should give you the right idea.