A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Hyperlink to invoke Flash

  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    17

    Hyperlink to invoke Flash

    I have created some SWiSH (.swf) movies that are nothing more than .mp3 audio file sound bites.

    I want to invoke these .swfs ON CLICK (hypertext) within an HTML page WITHOUT the .swf opening up another page or window — in other words, you click on the hyperlink text, it plays the sound file (embedded in the .swf) and that's it. The viewer is not relocated to another page or window, NO players open up (Quicktime, Real Player, etc), nothing.

    I've never incorporated sound in this way before and I'm not sure what to do in order to make this work. Can someone give me a CLEAR step-by-step on this?

    All help appreciated, thanks!

    JD
    jdove@medledger.com

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    I have a clear idea on how to do it - place a blank frame at the beginning of the movie and use javascript methods to tell the swf's to play()

    I do not know whether you can get a stopped frame from swish (there is a seperate swish forum, otherwise I would know a way to modify an existing movie)
    Also this does not work in all browsers, and there is no way to make it work everywhere

    Musicman

  3. #3
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    you might take a look at the FlashSound Javascript API at sonify.org. It is a simple to use javascript library that helps you control sound only movies from regular HTML links and buttons.

    www.sonify.org/flashsound/

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