| Package | com.bourre.media.sound |
| Class | public class SoundLoader |
| Inheritance | SoundLoader AbstractLoader |
| Subclasses | SoundSWFLoader, SoundURLLoader |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
| Method | Defined by | ||
|---|---|---|---|
|
SoundLoader(strategy:LoadStrategy = null)
| SoundLoader | ||
![]() |
addASyncCommandListener(listener:ASyncCommandListener, ... rest):Boolean
Adds the passed-in command listener object as listener
for this command events.
| AbstractLoader | |
![]() |
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds an event listener for the specified event type.
| AbstractLoader | |
![]() |
addListener(listener:Object):Boolean
Adds the passed-in listener as listener for all events dispatched
by this event broadcaster.
| AbstractLoader | |
![]() |
execute(e:Event = null):void
Execute the request according to the current command data.
| AbstractLoader | |
![]() |
fireCommandEndEvent():void
Fires the
onCommandEnd event to the listeners of this command. | AbstractLoader | |
![]() |
fireOnLoadErrorEvent(message:String = ""):void
Dispatches event when an error occur.
| AbstractLoader | |
![]() |
fireOnLoadInitEvent():void
Dispatches event when the loading is finished.
| AbstractLoader | |
![]() |
fireOnLoadProgressEvent():void
Dispatches event during loading progression.
| AbstractLoader | |
![]() |
fireOnLoadStartEvent():void
Dispatches event when the loading starts.
| AbstractLoader | |
![]() |
fireOnLoadTimeOut():void
| AbstractLoader | |
|
getApplicationDomain():ApplicationDomain
| SoundLoader | ||
![]() |
getBytesLoaded():uint
Returns the number of bytes loaded.
| AbstractLoader | |
![]() |
getBytesTotal():uint
Returns the total number of bytes to load.
| AbstractLoader | |
![]() |
getContent():Object
Returns loaded content.
| AbstractLoader | |
|
getContext():LoaderContext
| SoundLoader | ||
![]() |
getName():String
Returns the loader identifier.
| AbstractLoader | |
![]() |
getPerCent():Number
Returns a percentage of bytes loaded and total bytes to load.
| AbstractLoader | |
![]() |
Returns loading strategy used by the loader.
| AbstractLoader | |
![]() |
getTimeOut():Number
Returns the loading timeout limit
| AbstractLoader | |
![]() |
getURL():URLRequest
Returns the URL used by this loader.
| AbstractLoader | |
![]() |
isAntiCache():Boolean
Returns
true if 'anticache' system is on. | AbstractLoader | |
![]() |
isLoaded():Boolean
Returns
true if all bytes are loaded. | AbstractLoader | |
![]() |
isRunning():Boolean
Returns
true if this object is running. | AbstractLoader | |
|
load(url:URLRequest = null, context:LoaderContext = null):void
| SoundLoader | ||
![]() |
prefixURL(sURL:String):void
Adds prefix to URL passed to the loader instance.
| AbstractLoader | |
|
release():void
| SoundLoader | ||
![]() |
removeASyncCommandListener(listener:ASyncCommandListener):Boolean
Removes the passed-in command listener object as listener
for this command events.
| AbstractLoader | |
![]() |
removeEventListener(type:String, listener:Object):Boolean
Removes the passed-in listener for listening the specified event.
| AbstractLoader | |
![]() |
removeListener(listener:Object):Boolean
Removes the passed-in listener object from this event
broadcaster.
| AbstractLoader | |
![]() |
run():void
Starts the asynchronous process of this runnable object.
| AbstractLoader | |
![]() |
setAntiCache(b:Boolean):void
Sets the 'anticache' system to
true to add timestamp value
to the loaded URL. | AbstractLoader | |
![]() |
setContent(content:Object):void
Uses to replace this loader content.
| AbstractLoader | |
|
setContext(context:LoaderContext):void
| SoundLoader | ||
![]() |
setName(sName:String):void
Sets the loader identifier.
| AbstractLoader | |
![]() |
setTimeOut(n:Number):void
Sets a loading timeout limit.
| AbstractLoader | |
![]() |
setURL(url:URLRequest):void
Defined from which the URL will be loaded.
| AbstractLoader | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
fireEvent(e:Event):void
Dispatched passed-in event to all registered listeners.
| AbstractLoader | |
![]() |
fireEventType(type:String, errorMessage:String = ""):void
Dispatches event using passed-in type and optional error message.
| AbstractLoader | |
|
getLoaderEvent(type:String, errorMessage:String = ""):LoaderEvent
| SoundLoader | ||
|
onInitialize():void
| SoundLoader | ||
![]() |
setListenerType(type:Class):void
Defines the type of listeners this event broadcaster support.
| AbstractLoader | |
| SoundLoader | () | constructor |
public function SoundLoader(strategy:LoadStrategy = null)
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
strategy:LoadStrategy (default = null) |
| getApplicationDomain | () | method |
public function getApplicationDomain():ApplicationDomain
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
ApplicationDomain |
| getContext | () | method |
public final function getContext():LoaderContext
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
LoaderContext |
| getLoaderEvent | () | method |
protected override function getLoaderEvent(type:String, errorMessage:String = ""):LoaderEvent
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
type:String |
|
errorMessage:String (default = "") |
LoaderEvent |
| load | () | method |
public override function load(url:URLRequest = null, context:LoaderContext = null):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
url:URLRequest (default = null) |
|
context:LoaderContext (default = null) |
| onInitialize | () | method |
protected override function onInitialize():void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
| release | () | method |
public override function release():void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
| setContext | () | method |
public final function setContext(context:LoaderContext):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
context:LoaderContext |