
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Sound Class
|
467
Class methods
addListener(listener:Object):Void
getBeginIndex( ):Number
getCaretIndex( ):Number
getEndIndex( ):Number
getFocus( ):String
removeListener(
listener:Object):Boolean
setFocus(
newFocus:Object):Boolean
setSelection(
beginIndex:Number, endIndex:Number):Void
Events broadcast to listeners
onSetFocus(oldFocus:Object, newFocus:Object):Void
SharedObject Class
The SharedObject class supports local data storage and remote data transmission.
Constructor
None (instances are created with SharedObject.getLocal( ) or SharedObject.getRemote( ))
Instance properties
data:Object
Class methods
getLocal(name:String, localPath:String):SharedObject
getRemote(
name:String, remotePath:String, persistence:Object):SharedObject
Instance methods
close( ):Void
connect(
myConnection:NetConnection):Boolean
flush(
minDiskSpace:Number):Object
getSize( ):Number
send(
handlerName:String):Void
setFPS(
updatesPerSecond:Number):Boolean
Event handlers
onStatus(infoObject:Object):Void
onSync(
objArray:Array):Void
Sound Class
The Sound class offers external sound-loading tools and control over sounds in a movie.