| Package | jp.nium.display |
| Class | public class ExImageLoader |
| Inheritance | ExImageLoader ExLoader flash.display.Loader |
| Subclasses | CastImageLoader |
// ExImageLoader インスタンスを作成する var image:ExImageLoader = new ExImageLoader();
See also
| Property | Defined by | ||
|---|---|---|---|
| adjustHeight : Number
読み込む画像データの縦幅を自動調整する際に基準となる値を取得または設定します。
| ExImageLoader | ||
| adjustWidth : Number
読み込む画像データの横幅を自動調整する際に基準となる値を取得または設定します。
| ExImageLoader | ||
| align : int
画像の基準点を取得または設定します。
Get or set the reference point of the image.
| ExImageLoader | ||
![]() | className : String
インスタンスのクラス名を取得します。
Indicates the instance className of the IExDisplayObject.
| ExLoader | |
| contentHeight : Number [read-only]
ロードされたファイルの規格高さを取得します。
Get the standard height of the loaded contents.
| ExImageLoader | ||
| contentWidth : Number [read-only]
ロードされたコンテンツの規格幅を取得します。
Get the standard width of the loaded contents.
| ExImageLoader | ||
![]() | group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the IExDisplayObject.
| ExLoader | |
![]() | id : String
インスタンスの識別子を取得または設定します。
Indicates the instance id of the IExDisplayObject.
| ExLoader | |
| pixelSnapping : String
Bitmap オブジェクトが最も近いピクセルに吸着されるかどうかを指定します。
Controls whether or not the Bitmap object is snapped to the nearest pixel.
| ExImageLoader | ||
| ratio : int
リサイズ時に比率を維持するかどうかを取得または設定します。
Get or set whether to maintain the ratio when resizing it.
| ExImageLoader | ||
| smoothing : Boolean
ビットマップを拡大 / 縮小するときにスムージングするかどうかを指定します。
Controls whether or not the bitmap is smoothed when scaled.
| ExImageLoader | ||
| Method | Defined by | ||
|---|---|---|---|
|
ExImageLoader(initObject:Object = null)
新しい ExImageLoader インスタンスを作成します。
Creates a new ExImageLoader object.
| ExImageLoader | ||
|
close():void
Loader インスタンスに対して現在進行中の load() メソッドの処理をキャンセルします。
Cancels a load() method operation that is currently in progress for the Loader instance.
| ExImageLoader | ||
|
load(request:URLRequest, context:LoaderContext = null):void
イメージファイルを読み込みます。
Read the image file.
| ExImageLoader | ||
|
loadBytes(bytes:ByteArray, context:LoaderContext = null):void
ByteArray オブジェクトに保管されているバイナリデータから読み込みます。
Loads from binary data stored in a ByteArray object.
| ExImageLoader | ||
![]() |
setProperties(parameters:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。
Setup the several instance properties.
| ExLoader | |
![]() |
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| ExLoader | |
|
unload():void
load() メソッドを使用して読み込まれた、この Loader オブジェクトの子を削除します。
Removes a child of this Loader object that was loaded by using the load() method.
| ExImageLoader | ||
| adjustHeight | property |
adjustHeight:Number [read-write]読み込む画像データの縦幅を自動調整する際に基準となる値を取得または設定します。
Implementation public function get adjustHeight():Number
public function set adjustHeight(value:Number):void
See also
| adjustWidth | property |
adjustWidth:Number [read-write]読み込む画像データの横幅を自動調整する際に基準となる値を取得または設定します。
Implementation public function get adjustWidth():Number
public function set adjustWidth(value:Number):void
See also
| align | property |
align:int [read-write]画像の基準点を取得または設定します。 Get or set the reference point of the image.
Implementation public function get align():int
public function set align(value:int):void
See also
| contentHeight | property |
contentHeight:Number [read-only]ロードされたファイルの規格高さを取得します。 Get the standard height of the loaded contents.
Implementation public function get contentHeight():Number
| contentWidth | property |
contentWidth:Number [read-only]ロードされたコンテンツの規格幅を取得します。 Get the standard width of the loaded contents.
Implementation public function get contentWidth():Number
| pixelSnapping | property |
pixelSnapping:String [read-write]Bitmap オブジェクトが最も近いピクセルに吸着されるかどうかを指定します。 Controls whether or not the Bitmap object is snapped to the nearest pixel.
Implementation public function get pixelSnapping():String
public function set pixelSnapping(value:String):void
| ratio | property |
ratio:int [read-write]リサイズ時に比率を維持するかどうかを取得または設定します。 Get or set whether to maintain the ratio when resizing it.
Implementation public function get ratio():int
public function set ratio(value:int):void
See also
| smoothing | property |
smoothing:Boolean [read-write]ビットマップを拡大 / 縮小するときにスムージングするかどうかを指定します。 Controls whether or not the bitmap is smoothed when scaled.
Implementation public function get smoothing():Boolean
public function set smoothing(value:Boolean):void
| ExImageLoader | () | constructor |
public function ExImageLoader(initObject:Object = null)新しい ExImageLoader インスタンスを作成します。 Creates a new ExImageLoader object.
ParametersinitObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| close | () | method |
public override function close():voidLoader インスタンスに対して現在進行中の load() メソッドの処理をキャンセルします。 Cancels a load() method operation that is currently in progress for the Loader instance.
| load | () | method |
public override function load(request:URLRequest, context:LoaderContext = null):voidイメージファイルを読み込みます。 Read the image file.
Parametersrequest:URLRequest — 読み込む JPEG、GIF、または PNG ファイルの絶対 URL または相対 URL です。
Absolute or relative URL of the JPEG , GIF or PNG file to read.
|
|
context:LoaderContext (default = null) — LoaderContext オブジェクトです。
The LoaderContext object.
|
| loadBytes | () | method |
public override function loadBytes(bytes:ByteArray, context:LoaderContext = null):voidByteArray オブジェクトに保管されているバイナリデータから読み込みます。 Loads from binary data stored in a ByteArray object.
Parametersbytes:ByteArray — ByteArray オブジェクトです。ByteArray の内容としては、Loader クラスがサポートする SWF、GIF、JPEG、PNG のうちの任意のファイル形式を使用できます。
A ByteArray object. The contents of the ByteArray can be any of the file formats supported by the Loader class: SWF, GIF, JPEG, or PNG.
|
|
context:LoaderContext (default = null) — LoaderContext オブジェクトです。LoaderContext オブジェクトの applicationDomain プロパティのみが適用され、LoaderContext オブジェクトの checkPolicyFile および securityDomain プロパティは適用されません。
A LoaderContext object. Only the applicationDomain property of the LoaderContext object applies; the checkPolicyFile and securityDomain properties of the LoaderContext object do not apply.
|
| unload | () | method |
public override function unload():voidload() メソッドを使用して読み込まれた、この Loader オブジェクトの子を削除します。 Removes a child of this Loader object that was loaded by using the load() method.