bobgodwin
08-11-2006, 07:04 PM
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);">Song 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 (http://bigearthweb.com/bobgodwin/popup player link.html)
KoolMoves Player (http://bigearthweb.com/bobgodwin/koolmoves_player.html)
<a href="javascript:;" onclick="window.document.snd_hifi.GotoFrame(2);">Song 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 (http://bigearthweb.com/bobgodwin/popup player link.html)
KoolMoves Player (http://bigearthweb.com/bobgodwin/koolmoves_player.html)