I think there's an unload method on Loader, try that.

Or else, create a SoundChannel for your sound instead of putting it on the 
timeline and stop it when you remove the loader.

BLITZ | Patrick Matte - 310-551-0200 x214

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Lee
Sent: Wednesday, August 08, 2007 3:17 PM
To: [email protected]
Subject: [Flashcoders] AS3 Sound Looping Problem

Howdy Coders,



I'm in desparate need of some AS3 help. I'm loading a swf with sound
embedded in the timeline into another file thusly:

var urlRequest:URLRequest = new URLRequest("animatio
ns/ANIM_Test4.swf");
var animLoader:Loader = new Loader();
animLoader.load(urlR equest);
addChild(animeLoader);

When i do a removeChild(animLoader), the animation disappears, but the
sound says and loops endlessly. how can I clear out that sound?



Thanks!

-Eric



[EMAIL PROTECTED]



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to