Removelistener (Sharedobject.removelistener Method); Sound - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
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
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash lite 2

Table of Contents