Sound
595
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)
,
onStatus (System.onStatus handler)
removeListener (SharedObject.removeListener
method)
public static removeListener(objectName:
String
)
Removes any listeners that were added using the
addListener()
method.
Availability:
ActionScript 2.0; Flash Lite 2.0
Parameters
objectName
:
String
- A string that represents the name of the shared object.
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
new Sound
to create a Sound object before calling the methods
of the Sound class.
Summary of Contents for Flash Lite 2
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...