PDA

View Full Version : Embedding a flash player to loop a song



damnitsux2bu
04-15-2007, 05:20 AM
I want to embed a flash player in an html page to loop a song (mp3 file) so it will play in the background while a slideshow cycles. Any help would be greatly appreciated. :)

Moglizorz
04-21-2007, 11:57 AM
Make a flash file, 1x1 pixel, add a sound to the timeline, extend the timeline till you see the sound cut off, create a new keyframe, and add into the action script for that keyframe:

gotoAndPlay(1);

Then just embed it on the page with:

<embed src="file_source.swf" height="0" width="0">

Hope this helps.