package flash.media
extends EventDispatcher
Available on flashnew (?stream:URLRequest, ?context:SoundLoaderContext)read only bytesLoaded:UIntread only bytesTotal:Intread only id3:ID3Inforead only isBuffering:Bool read only isURLInaccessible:Boolread only length:Floatread only url:Stringclose ():Void extract (target:ByteArray, length:Float, startPosition:Float = -1):Floatload (stream:URLRequest, ?context:SoundLoaderContext):Void loadCompressedDataFromByteArray (bytes:ByteArray, bytesLength:UInt):Void loadPCMFromByteArray (bytes:ByteArray, samples:UInt, ?format:String, stereo:Bool = true, sampleRate:Float = 44100):Void play (startTime:Float = 0, loops:Int = 0, ?sndTransform:SoundTransform):SoundChannel
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/media/Sound.html