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(["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.
>
> But "my_sound" is an instance of the Sound class, so why would I need to
> specify an id?  This seem to imply that I could use
>
>     Sound.stop();
>
> to stop all sounds currently playing.  But it won't compile.  I get
> "Sound has no static field stop".
>
> So, how do you stop all currently playing sounds?
>
> Thanks!
>
>
> _______________________________________________
> [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