| Package | de.mightypirates.megazine |
| Interface | public interface IElement |
| Property | Defined by | ||
|---|---|---|---|
| element : AbstractElement
[read-only] Gets the actual element associated with this one.
| IElement | ||
| even : Boolean [read-only] Tells whether this element is on an even page or not.
| IElement | ||
| priority : int [read-only]
The elements priority while loading.
| IElement | ||
| Method | Defined by | ||
|---|---|---|---|
|
load():void
Load the element.
| IElement | ||
|
unload():void
Onload the element.
| IElement | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the element completely finished loading. | IElement | |||
| Dispatched when the element was instantiated (either by loading an external swf or by creating a new instance of an object). | IElement | |||
| Dispatched when the an error occurs while loading an element. | IElement | |||
| element | property |
element:AbstractElement [read-only]Gets the actual element associated with this one. May be null if not loaded.
Implementation public function get element():AbstractElement
| even | property |
even:Boolean [read-only]Tells whether this element is on an even page or not.
Implementation public function get even():Boolean
| priority | property |
priority:int [read-only]The elements priority while loading. Lower = more important / earlier. The return value is dependant on the distance of the containing page to the current page, to prioritize the pages currently visible.
Implementation public function get priority():int
| load | () | method |
public function load():voidLoad the element. If the element is already loading, loading is cancelled and restarted.
| unload | () | method |
public function unload():voidOnload the element. If the element is loading the loading progress is cancelled. If the element is not loaded nothing happens.
| element_complete | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.ELEMENT_COMPLETE
Dispatched when the element completely finished loading.
Event dispatched when a child element of this page completes initializing.
| element_init | event |
de.mightypirates.megazine.events.MegaZineEvent
de.mightypirates.megazine.events.MegaZineEvent.ELEMENT_INIT
Dispatched when the element was instantiated (either by loading an external swf or by creating a new instance of an object). This happens before the element actually finishes loading (ELEMENT_COMPLETE).
Event dispatched when a child element of this page completes initializing.
| ioError | event |
flash.events.IOErrorEvent
Dispatched when the an error occurs while loading an element.