Hi Paul,

it's more a class than an extension, the mxp just installed it for you in the correct folder.
It should be in

C:\Documents and Settings\USERNAME\Local Settings\Application 
Data\Macromedia\Flash 8\en\Configuration\Classes\ca\daroost\SoundLoop2.as

If you go inside the Flash IDE and open the HelpPanel, you will see a SoundLoop 
item that you can open and browse for all help concerning the use of the class.
some basic usage is as follow :


   import ca.daroost.SoundLoop2;
   var mySong:SoundLoop2;
   mySong = new SoundLoop2():
   mySong.loadStreams("loop1.mp3",0,75);

and you have your file looping with 75ms removed at the end, which usually removes the gap at the end of the mp3 file.
If you have more questions, you  can mail me directly.

Hope this gets you in the right direction.

Alain


Paul Steven wrote:

Thanks Alain

I am not quite sure how to use extensions. It appears to have installed the
"SoundLoop2.as" file in the following location:

C:\Documents and Settings\USERNAME\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration

How do I go about using this class in Flash? Sorry I have never used any
extensions before.

Thanks

Paul

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


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

_______________________________________________
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