Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Represents an IContentLoader content request instance returned from
IContentLoader's
load()
method.
complete:Boolean
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.5 |
Contains true
if content is
considered fully loaded and accessible.
The default value is false
.
Implementation public function get complete():Boolean
content:Object
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
A reference to contained content. This
can be (among many things), a LoaderInfo instance, BitmapData,
or any other generic content. When the complete event has fired
and/or complete() returns true, the content is considered valid.
Implementation public function get content():Object
public function set content(value:Object):void
public function ContentRequest(contentLoader:IContentLoader, content:*, shared:Boolean = false, complete:Boolean = false)
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Constructor.
Parameters | contentLoader:IContentLoader — The IContentLoader object.
|
|
| content:* — A reference to contained content.
|
|
| shared:Boolean (default = false ) — true indicates that this request is currently
being shared by other previous requests
|
|
| complete:Boolean (default = false ) — true indicates that someone has called load on a cache,
and the cache has returned immediately with a fully loaded result
|
Event Object Type: flash.events.Event
Event.type property = flash.events.Event.COMPLETE
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.0 |
Dispatched when content loading is complete.
Event Object Type: flash.events.HTTPStatusEvent
HTTPStatusEvent.type property = flash.events.HTTPStatusEvent.HTTP_STATUS
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.0 |
Dispatched when a network request is made over HTTP
and Flash Player or AIR can detect the HTTP status code.
Event Object Type: flash.events.IOErrorEvent
IOErrorEvent.type property = flash.events.IOErrorEvent.IO_ERROR
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.0 |
Dispatched when an input/output error occurs.
See also
flash.events.IOErrorEvent
Event Object Type: flash.events.ProgressEvent
ProgressEvent.type property = flash.events.ProgressEvent.PROGRESS
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.0 |
Dispatched when content is loading.
Note:
The progress
event is not guaranteed to be dispatched.
The complete
event may be received, without any
progress
events being dispatched.
This can happen when the loaded content is a local file.
Event Object Type: flash.events.SecurityErrorEvent
SecurityErrorEvent.type property = flash.events.SecurityErrorEvent.SECURITY_ERROR
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.5 |
Runtime Versions : | Flash Player 10, AIR 2.0 |
Dispatched when a security error occurs.
See also
flash.events.SecurityErrorEvent
Mon Feb 18 2013, 01:33 PM +11:00