Removelistener (Sharedobject.removelistener Method); Sound - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

var flushResult = my_so.flush(1000001);
switch (flushResult) {
case 'pending' :
message_txt.text = "flush is pending, waiting on user interaction.";
break;
case true :
message_txt.text = "flush was successful. Requested storage space
approved.";
break;
case false :
message_txt.text = "flush failed. User denied request for additional
storage.";
break;
}
See also
getLocal (SharedObject.getLocal method)
removeListener (SharedObject.removeListener
method)
public static removeListener(objectName:String)
Removes any listeners that were added using the
Availability: ActionScript 2.0; Flash Lite 2.0
Parameters
objectName:String

Sound

Object
|
+-Sound
public class Sound
extends
Object
The Sound class lets you control sound in a movie. You can add sounds to a movie clip from
the library while the movie is playing and control those sounds. If you do not specify a target
when you create a new Sound object, you can use the methods to control sound for the whole
movie.
You must use the constructor
of the Sound class.
- A string that represents the name of the shared object.
to create a Sound object before calling the methods
new Sound
,
onStatus (System.onStatus handler)
method.
addListener()
Sound
595

Advertisement

Table of Contents
loading

Table of Contents