Try:

mySound=new Sound(this); // notice the this
mySound.onSoundComplete = function()
{
    this.start();
};
mySound.loadSound("track1.mp3",true);


----- Original Message ----- 
From: "Paul Steven" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, November 11, 2005 1:40 PM
Subject: RE: [Flashcoders] Looping an external mp3 file seamlessly


Thanks Alain

You are right about the typo but even after fixing the typo it still does
not loop.

Is it true that streaming external audio will not loop?

Thanks

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alain
Rousseau
Sent: 11 November 2005 16:55
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly


Paul Steven wrote:

>I am trying to play a looping external mp3 file but am having no joy as it
>only plays once.
>
>I tried this
>
>mySound=new Sound();
>mySound.loadSound("track1.mp3",true);
>mysound.start(startTime,numloops);
>
>Any help much appreciated
>
>Thanks
>
>Paul
>
>_______________________________________________
>Flashcoders mailing list
>[email protected]
>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
Hi Paul

this is a typo error ... you defined "mySound" but called "mysound.start()"

keep your eyes open ;)


Alain
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to