all groups > flash actionscript > july 2005 >
You're in the

flash actionscript

group:

Sound functions


Sound functions Skazulab
7/14/2005 11:00:14 PM
flash actionscript:
Hey all. Just a little unsure about something from the ActionScript API
provided with Flash MX. In "Sound" ("Methods.Movie.Sound", if you will), is the
"mysound" in

mysound.stop();

an object (sound)? Or does mysound call the class, stop() is the method, and
you have to specifiy what object to act upon in stop()? If it is the former,
can someone tell me the proper syntax to get stop() to work? Thanks much.
Re: Sound functions kglad
7/15/2005 1:32:46 AM
mysound is in the sound class IF you instantiate it:

mysound=new Sound();

AddThis Social Bookmark Button