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".

'coz, as the error message states, there is no static method called 'stop'
in the Sound class. You should've called stop() on ur Sound class object -
my_sound. - my_sound.stop()

-- 
Arul Prasad
http://arulprasad.blogspot.com


On 9/12/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

Reply via email to