RE: [Flashcoders] AS2 Sound.stop()

2007-09-13 Thread Keith Reinfeld
Hi Andrew, > So, how do you stop all currently playing sounds? If that is literally what you want to do, have you looked at the global function stopAllSounds()? Regards, -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders@chatt

Re: [Flashcoders] AS2 Sound.stop()

2007-09-13 Thread eka
Hello :) I use in my opensource framework a model to register all sounds in my application and manipulate all sounds. The SoundLibrary class : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/andromeda/media/SoundLibrary.as See the example of the class : import andromeda.events.SoundModelEve

Re: [Flashcoders] AS2 Sound.stop()

2007-09-13 Thread Andrew Sinning
Thanks Arul, and Ian. This is very helpful! ___ 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 Authoriz

Re: [Flashcoders] AS2 Sound.stop()

2007-09-12 Thread Arul Prasad M L
If you had the sound imported into your library, assigned a linkage ID, and then attached it using Sound class's attachSound method, you'd have a 'idName'. If you loaded your audio clip using loadSound method, you wouldn't have a linkageID. So don't worry abt it. >>"Sound has no static field stop

Re: [Flashcoders] AS2 Sound.stop()

2007-09-12 Thread Ian Thomas
Each Sound() object is attached to a particular timeline. So if you do : (new Sound(_root)).stop() everything from _root downwards should stop. HTH, Ian On 9/11/07, Andrew Sinning <[EMAIL PROTECTED]> wrote: > > I don't understand the docs for the AS2 Sound.stop command. > > > my_sound.stop(

[Flashcoders] AS2 Sound.stop()

2007-09-12 Thread Andrew Sinning
I don't understand the docs for the AS2 Sound.stop command. > my_sound.stop(["idName":String]) : Void I can't find any documentation about sounds having an "idName". >Method; stops all sounds currently playing if no parameter is specified, or just the sound specified in the idName parameter.