haXe API Documentation
Back |
Indexextern class flash.media.Sound
Available in flash9
- var bytesLoaded(default,null) : UInt
- var bytesTotal(default,null) : Int
- var id3(default,null) : ID3Info
- var isBuffering(default,null) : Bool
- var isURLInaccessible : Bool
- var length(default,null) : Float
- var url(default,null) : String
- function new(?stream : flash.net.URLRequest, ?context : SoundLoaderContext) : Void
- function close() : Void
- function extract(target : flash.utils.ByteArray, length : Float, ?startPosition : Float) : Float
- function load(stream : flash.net.URLRequest, ?context : SoundLoaderContext) : Void
- function play(?startTime : Float, ?loops : Int, ?sndTransform : SoundTransform) : SoundChannel
Back |
Index