package flash.media
extends EventDispatcher
Available on flash
new(?stream:URLRequest, ?context:SoundLoaderContext)read onlybytesLoaded:UIntread onlybytesTotal:Intread onlyid3:ID3Inforead onlyisBuffering:Boolread onlyisURLInaccessible:Boolread onlylength:Floatread onlyurl:Stringclose():Voidextract(target:ByteArray, length:Float, startPosition:Float = -1):Floatload(stream:URLRequest, ?context:SoundLoaderContext):VoidloadCompressedDataFromByteArray(bytes:ByteArray, bytesLength:UInt):VoidloadPCMFromByteArray(bytes:ByteArray, samples:UInt, ?format:String, stereo:Bool = true, sampleRate:Float = 44100):Voidplay(startTime:Float = 0, loops:Int = 0, ?sndTransform:SoundTransform):SoundChannel
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/media/Sound.html