Sweet.
GL
Karl
On Sep 10, 2009, at 12:36 AM, Sam Brown wrote:
Hey Karl,
Thank you for the suggestion - you've helped me get to the bottom
of this.
Although stopAllSounds() is AS2, that was enough of a breadcrumb to
find the
AS3 equivalent:
// make sure you import this class:
import flash.media.SoundMixer;
// triggered in the out transition
SoundMixer.stopAll();
I'm sure there's a more elegant way to do this, but it works. Issue
solved,
thank you!
Best Regards,
Sam
On Wed, Sep 9, 2009 at 9:07 PM, Karl DeSaulniers
<k...@designdrumm.com>wrote:
Oops I think it's actually stopAllSounds();
Karl
Sent from losPhone
On Sep 9, 2009, at 11:03 PM, Karl DeSaulniers <k...@designdrumm.com>
wrote:
Well this may not stop the flv from playing and it's AS2 code, so
there
may be an equivilant in AS3, but try.
stopAllSounds;
At the end of the "out" transition.
HTHs
Karl
Sent from losPhone
On Sep 9, 2009, at 8:53 PM, Sam Brown <4sambr...@gmail.com> wrote:
Hello all,
I have an issue which will probably be a softball for you guys...
Basically I have a gallery-type nav; when you click on an item, an
external
swf is loaded into a container_mc. The container_mc lives in the
main
timeline and is simply used to tween the loaded swf in/out and
around.
I'm accessing a close button that lives in the loaded swf via:
event.target.content.close_btn.addEventListener(MouseEvent.CLICK,
outroAnimationandUnloadContainer_mc);
In this loaded swf is an instance of the flv playback
component. The
close_btn to unloads the swf fine, but the audio keeps playing.
I need
flv_playback.stop() but I'm confused how to access it.
I can't use event.target.content.flv.stop() b/c the event is a
level
deeper
than the event.target.content.close_btn.addEventListener used
above.
So - how do I make that flv shut-up when I unload it off the stage?
Thank you very much. Any advice is greatly appreciated.
Sam
_______________________________________________
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
Karl DeSaulniers
Design Drumm
http://designdrumm.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders