Or you can try this little thing I made here, exactly for looping mp3 seamlessly :

http://lab.daroost.ca/source/SoundLoop2.mxp

it's just a Class that I packaged with helpPanel and codehints info. You got all the info needed to make it work inside.

Hope this helps and works out well


Alain

JesterXL wrote:

I know... I have that on some mp3's. You can try either adjusting the startTime, OR fading in a completely new soundObject .

----- Original Message ----- From: "Paul Steven" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, November 11, 2005 1:56 PM
Subject: RE: [Flashcoders] Looping an external mp3 file seamlessly


Thanks Jester

That now loops:) Only problem is that it is not seamless - there seems to be
a slight delay:(

Cheers

Paul

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


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" <flashcoders@chattyfig.figleaf.com>
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
Flashcoders@chattyfig.figleaf.com
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to