A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Please Help? Playing sound on mouseover

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    1

    Please Help? Playing sound on mouseover

    Hi everyone,

    I could really use some guidance. I have a video that I am importing into a Flash banner. However, the requirements are that the sound play when the user mouses over the video.

    What is the best way to do this? Should I create an invisible button and add actionscript to that? Should I link to the sound clip externally? I am also not sure what script to use for the mouseover to play sound.

    The file size has to be under 30k but we are trying to get it a little higher. The video itself will only be 5-10 seconds.

    Thanks so much for ANY help.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    http://www.kennybellew.com/tutorial

    you'll find it there. And yes an invisible button is a good idea. If you don't want the hand to show when over that button use:

    PHP Code:
    this.buttonInstanceName.useHandCursor false
    gparis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center