Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Music Loop Autostart Problem

Status
Not open for further replies.

Ivan1

Programmer
Jun 18, 2001
113
0
0
US
Hi.
I created a player in Flash MX that loops an external MP3. However, this looping only starts playing automatically in Flash Mx test environment. When I put the SWF in the browser the music loop does not start automatically; I have to press my play button to get it started. Here's the actions frame.

myMusic = new Sound();
myMusic.loadSound("sample.mp3");
myMusic.start(0, 0);
myMusic.onSoundComplete = function() {
myMusic.start(.1, 0);
};

Any help is much appreciated.
Ivan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top