A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: HTML/Flash mp3 Player

Threaded View

  1. #1
    Thick as a Brick bobgodwin's Avatar
    Join Date
    Sep 2003
    Location
    Metro Detroit
    Posts
    217

    HTML/Flash mp3 Player

    I Wanted a really simple mp3 player to ues as a link from other sites (MySpace, blogs, groups, etc.) I made a small .swf with action script on each frame to call up the .mp3. I use this code in an .html doc to run the .swf:

    <a href="javascript:;" onclick="window.document.snd_hifi.GotoFrame(2);">S ong 1</a>

    Works great as a popup player, but looks O.K. in a open window too.

    The .html navigation moves everything up a frame. GotoFrame(1) in the .html goes to Frame 2 in the .swf and so on. When I change the Key Frame names, it doesn't work. The .html won't call up the new names for some reason.

    Only Song 9 works in this example (They all work in the online example). Change the .fun file to make the rest work.

    Popup Players

    KoolMoves Player
    Last edited by bobgodwin; 01-05-2008 at 05:06 PM.
    Bob Godwin

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