| Package | jp.progression.casts |
| Class | public class CastPreloader |
| Inheritance | CastPreloader ExDocument ExMovieClip flash.display.MovieClip |
| Implements | jp.progression.core.impls.ICastObject |
See also
| Property | Defined by | ||
|---|---|---|---|
| background : Sprite [read-only]
読み込まれるコンテンツよりも背面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。
| CastPreloader | ||
| bottom : Number [static][read-only]
ステージ下の Y 座標を取得します。
Get the bottom Y coordinate of the stage.
| CastPreloader | ||
| bytesLoaded : uint [read-only]
そのメディアのロード済みのバイト数です。
The number of bytes that are loaded for the media.
| CastPreloader | ||
| bytesTotal : uint [read-only]
メディアファイル全体の圧縮後のバイト数です。
The number of compressed bytes in the entire media file.
| CastPreloader | ||
| center : Number [static][read-only]
ステージ中央の X 座標を取得します。
Get the center X coordinate of the stage.
| CastPreloader | ||
| checkPolicyFile : Boolean [read-only]
オブジェクトをロードする前に、Flash Player がクロスドメインポリシーファイルの存在を確認するかどうかを取得または指定します。
ただし、読み込み処理が開始された以降は設定を変更することはできません。
| CastPreloader | ||
![]() | children : Array
子ディスプレイオブジェクトが保存されている配列です。
インデックス値が断続的に指定可能であるため、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。
この配列を操作することで元の配列を変更することはできません。
The array that saves child display objects.
| ExMovieClip | |
![]() | className : String
インスタンスのクラス名を取得します。
Indicates the instance className of the IExDisplayObject.
| ExMovieClip | |
| content : DisplayObject [read-only]
load() メソッドまたは loadBytes() メソッドを使用して読み込まれた SWF ファイルまたはイメージ(JPG、PNG、または GIF)ファイルのルート表示オブジェクトが含まれます。
Contains the root display object of the SWF file or image (JPG, PNG, or GIF) file that was loaded by using the load() or loadBytes() methods.
| CastPreloader | ||
| contentLoaderInfo : LoaderInfo [read-only]
読み込まれているオブジェクトに対応する LoaderInfo オブジェクトを返します。
Returns a LoaderInfo object corresponding to the object being loaded.
| CastPreloader | ||
| contextMenu : ContextMenu
このオブジェクトに関連付けられたコンテキストメニューを指定します。
Specifies the context menu associated with this object.
| CastPreloader | ||
| executor : ExecutorObject
[read-only]
関連付けられている ExecutorObject インスタンスを取得します。
| CastPreloader | ||
| foreground : Sprite [read-only]
読み込まれるコンテンツよりも前面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。
| CastPreloader | ||
![]() | group : String
インスタンスのグループ名を取得または設定します。
Indicates the instance group of the IExDisplayObject.
| ExMovieClip | |
![]() | id : String
インスタンスの識別子を取得または設定します。
Indicates the instance id of the IExDisplayObject.
| ExMovieClip | |
![]() | isDragging : Boolean
startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。
Returns if the drag process which uses startDrag() method is executing.
| ExMovieClip | |
![]() | isPlaying : Boolean
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。
Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
| ExMovieClip | |
![]() | isReady : Boolean
ドキュメントの準備が完了しているかどうかを取得します。
| ExDocument | |
| left : Number [static][read-only]
ステージ左の X 座標を取得します。
Get the left X coordinate of the stage.
| CastPreloader | ||
| middle : Number [static][read-only]
ステージ中央の Y 座標を取得します。
Get the center Y coordinate of the stage.
| CastPreloader | ||
| onCastAdded : Function | CastPreloader | ||
| onCastLoadComplete : Function
読み込み処理が完了された直後に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastPreloader | ||
| onCastLoadStart : Function
読み込み処理が開始される直前に呼び出されるイベントハンドラメソッドを取得または設定します。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastPreloader | ||
| onCastRemoved : Function | CastPreloader | ||
| onProgress : Function
ProgressEvent.PROGRESS イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| CastPreloader | ||
| onReady : Function
SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるイベントハンドラメソッドを取得または設定します。
| CastPreloader | ||
| request : URLRequest [read-only]
自動的に読み込まれる SWF ファイルの URL を取得します。
| CastPreloader | ||
| right : Number [static][read-only]
ステージ右の X 座標を取得します。
Get the right X coordinate of the stage.
| CastPreloader | ||
| root : CastPreloader
[static][read-only]
ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。
For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
| CastPreloader | ||
| self : CastPreloader
[read-only]
自身の参照を取得します。
| CastPreloader | ||
| stage : Stage [static][read-only]
表示オブジェクトのステージです。
The Stage of the display object.
| CastPreloader | ||
| top : Number [static][read-only]
ステージ上の Y 座標を取得します。
Get the top Y coordinate of the stage.
| CastPreloader | ||
| Method | Defined by | ||
|---|---|---|---|
|
CastPreloader(request:URLRequest = null, checkPolicyFile:Boolean = false, executorClass:Class = null, initObject:Object = null)
新しい CastPreloader インスタンスを作成します。
Creates a new CastPreloader object.
| CastPreloader | ||
![]() |
addChild(child:DisplayObject):DisplayObject
この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
addChildAt(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
addChildAtAbove(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| ExMovieClip | |
|
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| CastPreloader | ||
|
cancel():void
CastPreloader インスタンスに対して現在進行中の load() メソッドの処理をキャンセルします。
Cancels a load() method operation that is currently in progress for the CastPreloader instance.
| CastPreloader | ||
|
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| CastPreloader | ||
![]() |
getChildAt(index:int):DisplayObject
指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。
Returns the child display object instance that exists at the specified index.
| ExMovieClip | |
![]() |
getChildIndex(child:DisplayObject):int
子 DisplayObject インスタンスのインデックス位置を返します。
Returns the index position of a child DisplayObject instance.
| ExMovieClip | |
![]() |
gotoAndPlay(frame:Object, scenes:String = null):void
指定されたフレームで SWF ファイルの再生を開始します。
Start the playback of the SWF file with the specified frame.
| ExMovieClip | |
![]() |
gotoAndStop(frame:Object, scenes:String = null):void
このムービークリップの指定されたフレームに再生ヘッドを送り、そこで停止させます。
Set the palyback head to the specified frame of the MovieClip and stop at that point.
| ExMovieClip | |
|
insertCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。
追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。
このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
| CastPreloader | ||
|
load(request:URLRequest):void
読み込み処理を開始します。
| CastPreloader | ||
![]() |
nextFrame():void
次のフレームに再生ヘッドを送り、停止します。
Move the playback head to the next frame and stop at that point.
| ExMovieClip | |
![]() |
play():void
ムービークリップのタイムライン内で再生ヘッドを移動します。
Moves the playback head in the timeline of the MovieClip.
| ExMovieClip | |
![]() |
prevFrame():void
直前のフレームに再生ヘッドを戻し、停止します。
Move the playback head to the previous frame and stop at that point.
| ExMovieClip | |
![]() |
removeAllChildren():void
DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。
Remove the whole child DisplayObject instance which added to the DisplayObjectContainer.
| ExMovieClip | |
![]() |
removeChild(child:DisplayObject):DisplayObject
DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
| ExMovieClip | |
![]() |
removeChildAt(index:int):DisplayObject
DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
| ExMovieClip | |
![]() |
setChildIndex(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing child in the display object container.
| ExMovieClip | |
![]() |
setChildIndexAbove(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。
Changes the position of an existing child in the display object container.
| ExMovieClip | |
![]() |
setProperties(parameters:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。
Setup the several instance properties.
| ExMovieClip | |
![]() |
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
指定されたスプライトをユーザーがドラッグできるようにします。
Allow the user to drag the specified sprite.
| ExMovieClip | |
![]() |
stop():void
ムービークリップ内の再生ヘッドを停止します。
Stops the playback head in the MovieClip.
| ExMovieClip | |
![]() |
stopDrag():void
startDrag() メソッドを終了します。
Ends the startDrag() method.
| ExMovieClip | |
![]() |
swapChildren(child1:DisplayObject, child2:DisplayObject):void
指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the two specified child objects.
| ExMovieClip | |
![]() |
swapChildrenAt(index1:int, index2:int):void
子リスト内の指定されたインデックス位置に該当する 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
| ExMovieClip | |
![]() |
switchAtPlaying():void
ムービークリップの再生状態に応じて、再生もしくは停止します。
Playback or stops according to the playback state of the MovieClip.
| ExMovieClip | |
![]() |
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns the string representation of the specified object.
| ExMovieClip | |
|
updateManager():Boolean
マネージャーオブジェクトとの関連付けを更新します。
| CastPreloader | ||
| Method | Defined by | ||
|---|---|---|---|
|
atCastLoadComplete():void
読み込み処理が完了された直後に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastPreloader | ||
|
atCastLoadStart():void
読み込み処理が開始される直前に呼び出されるオーバーライド・イベントハンドラメソッドです。
このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| CastPreloader | ||
|
atProgress():void
ProgressEvent.PROGRESS イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
| CastPreloader | ||
|
atReady():void
SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
| CastPreloader | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| オブジェクトが読み込みを完了した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastPreloader | |||
| オブジェクトが読み込みを開始した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。 | CastPreloader | |||
![]() | SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に送出されます。 Dispatch when the SWF file completes to read and the stage and the loaderInfo becomes able to access. | ExDocument | ||
| 入出力エラーが発生して読み込み処理が失敗したときに送出されます。 | CastPreloader | |||
| ダウンロード処理を実行中にデータを受信したときに送出されます。 | CastPreloader | |||
| background | property |
background:Sprite [read-only]読み込まれるコンテンツよりも背面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。
Implementation public function get background():Sprite
| bottom | property |
bottom:Number [read-only]ステージ下の Y 座標を取得します。 Get the bottom Y coordinate of the stage.
Implementation public static function get bottom():Number
See also
| bytesLoaded | property |
bytesLoaded:uint [read-only]そのメディアのロード済みのバイト数です。 The number of bytes that are loaded for the media.
Implementation public function get bytesLoaded():uint
| bytesTotal | property |
bytesTotal:uint [read-only]メディアファイル全体の圧縮後のバイト数です。 The number of compressed bytes in the entire media file.
Implementation public function get bytesTotal():uint
| center | property |
center:Number [read-only]ステージ中央の X 座標を取得します。 Get the center X coordinate of the stage.
Implementation public static function get center():Number
See also
| checkPolicyFile | property |
checkPolicyFile:Boolean [read-only]オブジェクトをロードする前に、Flash Player がクロスドメインポリシーファイルの存在を確認するかどうかを取得または指定します。 ただし、読み込み処理が開始された以降は設定を変更することはできません。
Implementation public function get checkPolicyFile():Boolean
| content | property |
content:DisplayObject [read-only]load() メソッドまたは loadBytes() メソッドを使用して読み込まれた SWF ファイルまたはイメージ(JPG、PNG、または GIF)ファイルのルート表示オブジェクトが含まれます。 Contains the root display object of the SWF file or image (JPG, PNG, or GIF) file that was loaded by using the load() or loadBytes() methods.
Implementation public function get content():DisplayObject
| contentLoaderInfo | property |
contentLoaderInfo:LoaderInfo [read-only]読み込まれているオブジェクトに対応する LoaderInfo オブジェクトを返します。 Returns a LoaderInfo object corresponding to the object being loaded.
Implementation public function get contentLoaderInfo():LoaderInfo
| contextMenu | property |
contextMenu:ContextMenu [read-write]このオブジェクトに関連付けられたコンテキストメニューを指定します。 Specifies the context menu associated with this object.
Implementation public function get contextMenu():ContextMenu
public function set contextMenu(value:ContextMenu):void
| executor | property |
executor:ExecutorObject [read-only]関連付けられている ExecutorObject インスタンスを取得します。
Implementation public function get executor():ExecutorObject
See also
| foreground | property |
foreground:Sprite [read-only]読み込まれるコンテンツよりも前面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。
Implementation public function get foreground():Sprite
| left | property |
left:Number [read-only]ステージ左の X 座標を取得します。 Get the left X coordinate of the stage.
Implementation public static function get left():Number
See also
| middle | property |
middle:Number [read-only]ステージ中央の Y 座標を取得します。 Get the center Y coordinate of the stage.
Implementation public static function get middle():Number
See also
| onCastAdded | property |
onCastAdded:Function [read-write]Implementation
public function get onCastAdded():Function
public function set onCastAdded(value:Function):void
| onCastLoadComplete | property |
onCastLoadComplete:Function [read-write]読み込み処理が完了された直後に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastLoadComplete():Function
public function set onCastLoadComplete(value:Function):void
| onCastLoadStart | property |
onCastLoadStart:Function [read-write]読み込み処理が開始される直前に呼び出されるイベントハンドラメソッドを取得または設定します。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
Implementation public function get onCastLoadStart():Function
public function set onCastLoadStart(value:Function):void
| onCastRemoved | property |
onCastRemoved:Function [read-write]Implementation
public function get onCastRemoved():Function
public function set onCastRemoved(value:Function):void
| onProgress | property |
onProgress:Function [read-write]ProgressEvent.PROGRESS イベントを受け取った場合に呼び出されるイベントハンドラメソッドを取得または設定します。
Implementation public function get onProgress():Function
public function set onProgress(value:Function):void
| onReady | property |
onReady:Function [read-write]SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるイベントハンドラメソッドを取得または設定します。
Implementation public function get onReady():Function
public function set onReady(value:Function):void
See also
| request | property |
request:URLRequest [read-only]自動的に読み込まれる SWF ファイルの URL を取得します。
Implementation public function get request():URLRequest
| right | property |
right:Number [read-only]ステージ右の X 座標を取得します。 Get the right X coordinate of the stage.
Implementation public static function get right():Number
See also
| root | property |
root:CastPreloader [read-only]ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
Implementation public static function get root():CastPreloader
| self | property |
| stage | property |
stage:Stage [read-only]表示オブジェクトのステージです。 The Stage of the display object.
Implementation public static function get stage():Stage
| top | property |
top:Number [read-only]ステージ上の Y 座標を取得します。 Get the top Y coordinate of the stage.
Implementation public static function get top():Number
See also
| CastPreloader | () | constructor |
public function CastPreloader(request:URLRequest = null, checkPolicyFile:Boolean = false, executorClass:Class = null, initObject:Object = null)新しい CastPreloader インスタンスを作成します。 Creates a new CastPreloader object.
Parametersrequest:URLRequest (default = null) — 読み込む SWF ファイルの絶対 URL または相対 URL です。
The absolute or relative URL of the SWF file to be loaded.
|
|
checkPolicyFile:Boolean (default = false) — オブジェクトをロードする前に、URL ポリシーファイルの存在を確認するかどうかを指定します。
Specifies whether a check should be made for the existence of a URL policy file before loading the object.
|
|
executorClass:Class (default = null) — 汎用的な処理の実装として使用したいクラスです。
|
|
initObject:Object (default = null) — 設定したいプロパティを含んだオブジェクトです。
|
| addCommand | () | method |
public function addCommand(... commands):void特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
Parameters... commands — 登録したいコマンドを含む配列です。
|
See also
| atCastLoadComplete | () | method |
protected function atCastLoadComplete():void読み込み処理が完了された直後に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| atCastLoadStart | () | method |
protected function atCastLoadStart():void読み込み処理が開始される直前に呼び出されるオーバーライド・イベントハンドラメソッドです。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| atProgress | () | method |
protected function atProgress():voidProgressEvent.PROGRESS イベントを受け取った場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
| atReady | () | method |
protected function atReady():voidSWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
| cancel | () | method |
public function cancel():voidCastPreloader インスタンスに対して現在進行中の load() メソッドの処理をキャンセルします。 Cancels a load() method operation that is currently in progress for the CastPreloader instance.
| clearCommand | () | method |
public function clearCommand(completely:Boolean = false):void登録されている Command インスタンスを削除します。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
Parameterscompletely:Boolean (default = false) — true が設定されている場合は登録されている全てのコマンド登録を解除し、false の場合には現在処理中のコマンド以降の登録を解除します。
|
See also
| insertCommand | () | method |
public function insertCommand(... commands):void特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
Parameters... commands — 登録したいコマンドを含む配列です。
|
See also
| load | () | method |
public function load(request:URLRequest):void読み込み処理を開始します。
Parametersrequest:URLRequest — 読み込む SWF ファイルの絶対 URL または相対 URL です。
The absolute or relative URL of the SWF file to be loaded.
|
| updateManager | () | method |
public function updateManager():Booleanマネージャーオブジェクトとの関連付けを更新します。
ReturnsBoolean — 関連付けが成功したら true を、それ以外は false を返します。
|
See also
| castLoadComplete | event |
jp.progression.events.CastEvent
オブジェクトが読み込みを完了した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| castLoadStart | event |
jp.progression.events.CastEvent
オブジェクトが読み込みを開始した瞬間に送出されます。 このイベント処理の実行中には、ExecutorObject を使用した非同期処理が行えます。
| ioError | event |
| progress | event |