FlashAudioLoader Class
Loader provides a mechanism to preload Flash content via PreloadJS or internally. Instances are returned to the preloader, and the load method is called when the asset needs to be requested.
Item Index
Properties
Methods
handleComplete
()
protected
Called from Flash when sound is loaded. Set our ready state and fire callbacks / events
handleError
(
protected
-
error
Receive error event from flash and pass it to callback.
Parameters:
-
error
Event
handleProgress
(
protected
-
loaded
-
total
called from flash when loading has progress
setFlash
(
-
flash
Set the Flash instance on the class, and start loading on any instances that had load called before flash was ready
Parameters:
-
flash
ObjectFlash instance that handles loading and playback
Properties
flashId
String
ID used to facilitate communication with flash. Not doc'd because this should not be altered externally