Packagefrocessing.bmp
Classpublic class FImageLoader
InheritanceFImageLoader Inheritance FImage Inheritance FBitmapData Inheritance Object
Implements IObjectLoader

Simple Image Loader



Public Properties
 PropertyDefined By
  bgcolor : uint = 0x00000000
FImageLoader
 InheritedbitmapData : BitmapData
[read-only]
FBitmapData
 Inheritedheight : int
[read-only]
FBitmapData
 Inheritedrect : Rectangle
[read-only]
FBitmapData
  smooth : Boolean = false
FImageLoader
  status : int
[read-only] load status.
FImageLoader
  success : Boolean
[read-only] load completed.
FImageLoader
 Inheritedtransparent : Boolean
[read-only]
FBitmapData
 Inheritedwidth : int
[read-only]
FBitmapData
Public Methods
 MethodDefined By
  
FImageLoader(url:String, loader:Loader = null, callback:Function = null, bitmapData:BitmapData = null)
FImage Loader.
FImageLoader
 Inherited
alpha(value:Number):void
alpha bitmapData.
FImage
 Inherited
dispose():void
FBitmapData
 Inherited
draw(source:IBitmapDrawable, matrix:Matrix = null, colorTransform:ColorTransform = null, blendMode:String = null, clipRect:Rectangle = null, smoothing:Boolean = false):void
FBitmapData
 Inherited
drawPixel32(x:int, y:int, color:uint):void
FBitmapData
 Inherited
fillRect(rect:Rectangle, color:uint):void
FBitmapData
 Inherited
getColor(x:Number, y:Number, normal:Boolean = true, alpha:Boolean = false, wrap:Boolean = false):uint
get pixel color
FImage
 Inherited
getPixel(x:int, y:int):uint
FBitmapData
 Inherited
getPixel32(x:int, y:int):uint
FBitmapData
 Inherited
lock():void
FBitmapData
 Inherited
mask(src:IBitmapDrawable, channel:uint = 8, alphaBlend:Boolean = true):void
mask bitmapData.
FImage
 Inherited
setPixel(x:int, y:int, color:uint):void
FBitmapData
 Inherited
setPixel32(x:int, y:int, color:uint):void
FBitmapData
 Inherited
setSize(width:int, height:int, align:String = null, scaleMode:String = null, transparent:Boolean = true, bgcolor:uint = 0, smooth:Boolean = true):void
re size bitmapdata.
FImage
 Inherited
slice(left:Number, top:Number, width:Number, height:Number):BitmapData
slice bitmapData by rectangle.
FImage
 Inherited
split(split_x_num:uint = 1, split_y_num:uint = 1):Array
split bitmapData by grid.
FImage
 Inherited
toImage(dobj:DisplayObject, width:int = 0, height:int = 0, align:String = null, scaleMode:String = null, transparent:Boolean = true, bgcolor:uint = 0xff000000):BitmapData
[static] DisplayObject を BitmapDataに変換します.
FImage
 Inherited
unlock(changeRect:Rectangle = null):void
FBitmapData
 Inherited
valueOf():BitmapData
FImage
Property Detail
bgcolorproperty
public var bgcolor:uint = 0x00000000

smoothproperty 
public var smooth:Boolean = false

statusproperty 
status:int  [read-only]

load status. 0:loading, 1:complete, -1:error


Implementation
    public function get status():int
successproperty 
success:Boolean  [read-only]

load completed.


Implementation
    public function get success():Boolean
Constructor Detail
FImageLoader()Constructor
public function FImageLoader(url:String, loader:Loader = null, callback:Function = null, bitmapData:BitmapData = null)

FImage Loader.

Parameters
url:String
 
loader:Loader (default = null)
 
callback:Function (default = null)
 
bitmapData:BitmapData (default = null)