www.webdeveloper.com
Results 1 to 2 of 2

Thread: embed short audio to picture? Newbie question.

  1. #1
    Join Date
    Nov 2009
    Posts
    1

    Question embed short audio to picture? Newbie question.

    I have a 2 part question...First is it possible to embed (or link) a very short audio to a pic, so that when the pic is hovered over the audio plays once....(i am trying to make a turkey gobble)....and can anyone tell how to do it. I have been using html. This is my first website, so i am a newbie, but learning fast

  2. #2
    Join Date
    Nov 2009
    Location
    UK, Lancs
    Posts
    33
    I'd use flash for this.
    I can harldy go through it all here but you pretty much need to make a movie clip with the image on the first frame with the frame stopped.
    Have the sound on another layer starting at frame 5, name frame 5 'play'
    Add code a movie clip on the first layer which pretty much says
    on rollover {
    gotoAndPlay("play")
    }

    (that code isn't exact, but im sure you can find it online.)

    http://lmgtfy.com/?q=roll+overs+in+flash

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles