Re: [Flashcoders] AS3 Sound Looping Problem

2007-08-08 Thread Muzak
import flash.media.*;
SoundMixer.stopAll();

regards,
Muzak

- Original Message - 
From: "Eric Lee" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, August 09, 2007 12:37 AM
Subject: RE: [Flashcoders] AS3 Sound Looping Problem


Unload doesn't work either.

I have a sample of this problem up here:
http://www.stillwantmore.com/temp/sound_problem.zip

Open up elee_test.fla and you'll see what's going on. Even after the
clip is removed, the sound plays, and will continue looping if you leave
it open.

I'm trying the sound channel method, problem being that I have a whole
lot of these animations that are being loaded into a shell, so not
having to change all of them would be preferable




___
Flashcoders@chattyfig.figleaf.com
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


Re: [Flashcoders] AS3 Sound Looping Problem

2007-08-08 Thread R�kos Attila

I also met this problem recently and stopping the loaded movie's
timeline before calling removeChild() has solved it. I also tried
unload(), but without success.

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:Eric Lee <[EMAIL PROTECTED]>
To:  flashcoders@chattyfig.figleaf.com 
Date:Thursday, August 9, 2007, 12:17:23 AM
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]

 

___
Flashcoders@chattyfig.figleaf.com
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

___
Flashcoders@chattyfig.figleaf.com
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


RE: [Flashcoders] AS3 Sound Looping Problem

2007-08-08 Thread Eric Lee
Unload doesn't work either.

I have a sample of this problem up here:
http://www.stillwantmore.com/temp/sound_problem.zip

Open up elee_test.fla and you'll see what's going on. Even after the
clip is removed, the sound plays, and will continue looping if you leave
it open.

I'm trying the sound channel method, problem being that I have a whole
lot of these animations that are being loaded into a shell, so not
having to change all of them would be preferable



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Matte|BLITZ
Sent: Wednesday, August 08, 2007 3:30 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] AS3 Sound Looping Problem

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: flashcoders@chattyfig.figleaf.com
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]



___
Flashcoders@chattyfig.figleaf.com
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
___
Flashcoders@chattyfig.figleaf.com
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
___
Flashcoders@chattyfig.figleaf.com
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


RE: [Flashcoders] AS3 Sound Looping Problem

2007-08-08 Thread Patrick Matte|BLITZ
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: flashcoders@chattyfig.figleaf.com
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]



___
Flashcoders@chattyfig.figleaf.com
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
___
Flashcoders@chattyfig.figleaf.com
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