Packageorg.openzet.display
Classpublic class ImageLoader
InheritanceImageLoader Inheritance flash.display.Sprite
SubclassesDashedRectangle

ImageLoader extends Sprite to add source as its child display object.



Public Properties
 PropertyDefined by
  content : *
[read-only] Content of this ImageLoader whether it is a display object or something else.
ImageLoader
  contentHeight : Number
Height of the content.
ImageLoader
  contentWidth : Number
Width of the content.
ImageLoader
  source : Object
Target source to be added.
ImageLoader
Public Methods
 MethodDefined by
  
Constructor
ImageLoader
  
clear():void
Clears drawing.
ImageLoader
Protected Methods
 MethodDefined by
  
measure(target:Object):void
Sets content's width and height.
ImageLoader
Property detail
contentproperty
content:*  [read-only]

Content of this ImageLoader whether it is a display object or something else.

Implementation
    public function get content():*
contentHeightproperty 
contentHeight:Number  [read-write]

Height of the content.

Implementation
    public function get contentHeight():Number
    public function set contentHeight(value:Number):void
contentWidthproperty 
contentWidth:Number  [read-write]

Width of the content.

Implementation
    public function get contentWidth():Number
    public function set contentWidth(value:Number):void
sourceproperty 
source:Object  [read-write]

Target source to be added. For the value of this property, you can assign an image class or a simple string value specifying the image's location.

Implementation
    public function get source():Object
    public function set source(value:Object):void
Constructor detail
ImageLoader()constructor
public function ImageLoader()

Constructor

Method detail
clear()method
public function clear():void

Clears drawing.

measure()method 
protected function measure(target:Object):void

Sets content's width and height.

Parameters
target:Object