| Package | com.soma.loader |
| Interface | public interface ILoading |
Author: Romuald Quantin - www.soundstep.com
Project host: http://code.google.com/p/somaloader/
Class version: 1.0.2
Actionscript version: 3.0
Copyright:
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied.
See the License for the specific language governing rights and
limitations under the License.
The Original Code is SomaLoader.
The Initial Developer of the Original Code is Romuald Quantin.
Initial Developer are Copyright (C) 2008-2009 Soundstep. All Rights Reserved.
Date: 20 Feb 2009
Usage:
A loading DisplayObject can be inserted in a SomaLoader instance to show the progress of a loading.
The loading class must implement ILoading to be accepted by the SomaLoader instance.
var loader:SomaLoader = new SomaLoader(); var myLoading:MyLoading = new MyLoading(); addChild(myLoading); loader.loading = myLoading;
| Method | Defined by | ||
|---|---|---|---|
|
error(event:SomaLoaderEvent):void
Receives a
SomaLoaderEvent.ERROR | ILoading | ||
|
itemComplete(event:SomaLoaderEvent):void
Receives a
SomaLoaderEvent.COMPLETE | ILoading | ||
|
itemProgress(event:SomaLoaderEvent):void
Receives a
SomaLoaderEvent.PROGRESS | ILoading | ||
|
itemStart(event:SomaLoaderEvent):void
Receives a
SomaLoaderEvent.START | ILoading | ||
|
queueComplete():void
Receives a
SomaLoaderEvent.QUEUE_COMPLETE | ILoading | ||
|
queueProgress(event:SomaLoaderEvent):void
Receives a
SomaLoaderEvent.QUEUE_PROGRESS | ILoading | ||
|
queueStart():void
Receives a
SomaLoaderEvent.QUEUE_START | ILoading | ||
| error | () | method |
public function error(event:SomaLoaderEvent):void
Receives a SomaLoaderEvent.ERROR event when an Error is dispatched by the SomaLoader instance.
event:SomaLoaderEvent |
| itemComplete | () | method |
public function itemComplete(event:SomaLoaderEvent):void
Receives a SomaLoaderEvent.COMPLETE event when a loading of an item is complete.
event:SomaLoaderEvent |
| itemProgress | () | method |
public function itemProgress(event:SomaLoaderEvent):void
Receives a SomaLoaderEvent.PROGRESS event when a loading of an item progresses.
event:SomaLoaderEvent |
| itemStart | () | method |
public function itemStart(event:SomaLoaderEvent):void
Receives a SomaLoaderEvent.START event when a loading of an item starts.
event:SomaLoaderEvent |
| queueComplete | () | method |
public function queueComplete():void
Receives a SomaLoaderEvent.QUEUE_COMPLETE event when the loading of a list of items is complete.
| queueProgress | () | method |
public function queueProgress(event:SomaLoaderEvent):void
Receives a SomaLoaderEvent.QUEUE_PROGRESS event when the loading of a list of items progresses.
event:SomaLoaderEvent |
| queueStart | () | method |
public function queueStart():void
Receives a SomaLoaderEvent.QUEUE_START event when the loading of a list of items starts.