Sound
extern class flash.media.Soundextends EventDispatcherAvailable in flash
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 #12981, modified 2012-04-12 22:25:46 by api
0 comment