Sound

You are viewing an old version of this entry, click here to see latest version.
extern class flash.media.Soundextends EventDispatcherAvailable in flash9 var bytesLoaded(default,null) : UInt var bytesTotal(default,null) : Int var id3(default,null) : ID3Info var isBuffering(default,null) : Bool var isURLInaccessible(default,null) : Bool var length(default,null) : Float var url(default,null) : String function new( ?stream : URLRequest, ?context : SoundLoaderContext ) : Void function close() : Void function extract( target : ByteArray, length : Float, ?startPosition : Float ) : Float function load( stream : URLRequest, ?context : SoundLoaderContext ) : Void function loadCompressedDataFromByteArray( bytes : ByteArray, bytesLength : UInt ) : Void function loadPCMFromByteArray( bytes : ByteArray, samples : UInt, ?format : String, ?stereo : Bool, ?sampleRate : Float ) : Void function play( ?startTime : Float, ?loops : Int, ?sndTransform : SoundTransform ) : SoundChannel
version #11176, modified 2011-09-25 16:00:40 by api
0 comment