|
April 6, 2001 Sonifying Event Handlers Tips: April 2001
Yehuda Shiran, Ph.D.
|
|
In order to invoke a Flash sound when a link is clicked, use a regular Anchor tag with HREF="javascript://", and set the onclick event handler to call the FlashSound JavaScript API's TGotoAndPlay() method. The following link shows the text "Play the sound" and directs the play head to go to the label "start" in the "/beamscan" frame:
The following link shows the text
People who read this tip also read these tips: Look for similar tips by subject: |