Packagejp.progression.casts
Classpublic class CastDocument
InheritanceCastDocument Inheritance ExDocument Inheritance ExMovieClip Inheritance flash.display.MovieClip
Implementsjp.progression.core.impls.ICastDocument, jp.progression.core.impls.ICastObject, jp.progression.core.impls.IManageable

CastDocument クラスは、ExDocument クラスの基本機能を拡張し、イベントフローとの連携機能を実装した jp.progression パッケージで使用される基本的なドキュメント専用クラスです。


Example
  

See also

jp.progression.casts.getInstanceById()
jp.progression.casts.getInstancesByGroup()


Public Properties
 PropertyDefined by
  background : Sprite
[read-only] 読み込まれるコンテンツよりも背面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。 この値は CastPreloader 経由で読み込まれた場合のみ有効です。
CastDocument
  bottom : Number
[static][read-only] ステージ下の Y 座標を取得します。 Get the bottom Y coordinate of the stage.
CastDocument
  center : Number
[static][read-only] ステージ中央の X 座標を取得します。 Get the center X coordinate of the stage.
CastDocument
 Inheritedchildren : Array
子ディスプレイオブジェクトが保存されている配列です。 インデックス値が断続的に指定可能であるため、getChildAt() ではなくこのプロパティを使用して子ディスプレイオブジェクト走査を行います。 この配列を操作することで元の配列を変更することはできません。 The array that saves child display objects.
ExMovieClip
 InheritedclassName : String
インスタンスのクラス名を取得します。 Indicates the instance className of the IExDisplayObject.
ExMovieClip
  contextMenu : ContextMenu
CastDocument
  executor : ExecutorObject
[read-only] 関連付けられている ExecutorObject インスタンスを取得します。
CastDocument
  foreground : Sprite
[read-only] 読み込まれるコンテンツよりも前面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。 この値は CastPreloader 経由で読み込まれた場合のみ有効です。
CastDocument
 Inheritedgroup : String
インスタンスのグループ名を取得または設定します。 Indicates the instance group of the IExDisplayObject.
ExMovieClip
 Inheritedid : String
インスタンスの識別子を取得または設定します。 Indicates the instance id of the IExDisplayObject.
ExMovieClip
 InheritedisDragging : Boolean
startDrag() メソッドを使用したドラッグ処理を行っている最中かどうかを取得します。 Returns if the drag process which uses startDrag() method is executing.
ExMovieClip
 InheritedisPlaying : Boolean
ムービークリップのタイムライン内で再生ヘッドの移動処理が行われているかどうかを取得します。 Returns if the movement processing of the playback head is executing in the timeline of the MovieClip.
ExMovieClip
  isPreloaded : Boolean
[read-only] CastPreloader 経由で読み込まれているかどうかを取得します。
CastDocument
 InheritedisReady : Boolean
ドキュメントの準備が完了しているかどうかを取得します。
ExDocument
  left : Number
[static][read-only] ステージ左の X 座標を取得します。 Get the left X coordinate of the stage.
CastDocument
  manager : Progression
[read-only] 関連付けられている Progression インスタンスを取得します。
CastDocument
  middle : Number
[static][read-only] ステージ中央の Y 座標を取得します。 Get the center Y coordinate of the stage.
CastDocument
  numChildren : int
[read-only] このオブジェクトの子の数を返します。 このインスタンスが SceneLoader によって読み込まれている場合には、関連付けられている DisplayObjectContainer の子の数を返します。
CastDocument
  onReady : Function
SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるイベントハンドラメソッドを取得または設定します。
CastDocument
  parent : DisplayObjectContainer
[read-only] この表示オブジェクトを含む DisplayObjectContainer オブジェクトを示します。 このインスタンスが SceneLoader によって読み込まれている場合には、関連付けられている DisplayObjectContainer を示します。
CastDocument
  right : Number
[static][read-only] ステージ右の X 座標を取得します。 Get the right X coordinate of the stage.
CastDocument
  root : CastDocument
[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.
CastDocument
  self : CastDocument
[read-only] 自身の参照を取得します。
CastDocument
  stage : Stage
[static][read-only] 表示オブジェクトのステージです。 The Stage of the display object.
CastDocument
  top : Number
[static][read-only] ステージ上の Y 座標を取得します。 Get the top Y coordinate of the stage.
CastDocument
Public Methods
 MethodDefined by
  
CastDocument(managerId:String = null, rootClass:Class = null, config:Configuration = null, initObject:Object = null)
新しい CastDocument インスタンスを作成します。 Creates a new CastDocument object.
CastDocument
  
addChild(child:DisplayObject):DisplayObject
この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
CastDocument
  
addChildAt(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
CastDocument
  
addChildAtAbove(child:DisplayObject, index:int):DisplayObject
この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.
CastDocument
  
addCommand(... commands):void
特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
CastDocument
  
clearCommand(completely:Boolean = false):void
登録されている Command インスタンスを削除します。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。
CastDocument
  
contains(child:DisplayObject):Boolean
指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
CastDocument
  
getChildAt(index:int):DisplayObject
指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.
CastDocument
  
getChildByName(name:String):DisplayObject
指定された名前に一致する子表示オブジェクトを返します。 Returns the child display object that exists with the specified name.
CastDocument
  
getChildIndex(child:DisplayObject):int
子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.
CastDocument
 Inherited
gotoAndPlay(frame:Object, scenes:String = null):void
指定されたフレームで SWF ファイルの再生を開始します。 Start the playback of the SWF file with the specified frame.
ExMovieClip
 Inherited
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 が実装されている必要があります。
CastDocument
 Inherited
nextFrame():void
次のフレームに再生ヘッドを送り、停止します。 Move the playback head to the next frame and stop at that point.
ExMovieClip
 Inherited
play():void
ムービークリップのタイムライン内で再生ヘッドを移動します。 Moves the playback head in the timeline of the MovieClip.
ExMovieClip
 Inherited
prevFrame():void
直前のフレームに再生ヘッドを戻し、停止します。 Move the playback head to the previous frame and stop at that point.
ExMovieClip
  
DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。 Remove the whole child DisplayObject instance which added to the DisplayObjectContainer.
CastDocument
  
removeChild(child:DisplayObject):DisplayObject
DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
CastDocument
  
removeChildAt(index:int):DisplayObject
DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
CastDocument
  
setChildIndex(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
CastDocument
  
setChildIndexAbove(child:DisplayObject, index:int):void
表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.
CastDocument
 Inherited
setProperties(parameters:Object):DisplayObject
インスタンスに対して、複数のプロパティを一括設定します。 Setup the several instance properties.
ExMovieClip
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
指定されたスプライトをユーザーがドラッグできるようにします。 Allow the user to drag the specified sprite.
ExMovieClip
 Inherited
stop():void
ムービークリップ内の再生ヘッドを停止します。 Stops the playback head in the MovieClip.
ExMovieClip
 Inherited
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.
CastDocument
  
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.
CastDocument
 Inherited
ムービークリップの再生状態に応じて、再生もしくは停止します。 Playback or stops according to the playback state of the MovieClip.
ExMovieClip
 Inherited
toString():String
指定されたオブジェクトのストリング表現を返します。 Returns the string representation of the specified object.
ExMovieClip
  
updateManager():Boolean
マネージャーオブジェクトとの関連付けを更新します。
CastDocument
Protected Methods
 MethodDefined by
  
atReady():void
SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるオーバーライド・イベントハンドラメソッドです。
CastDocument
Events
 EventSummaryDefined by
 Inherited SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に送出されます。 Dispatch when the SWF file completes to read and the stage and the loaderInfo becomes able to access. ExDocument
   Progression インスタンスとの関連付けがアクティブになったときに送出されます。 CastDocument
   Progression インスタンスとの関連付けが非アクティブになったときに送出されます。 CastDocument
Property detail
backgroundproperty
background:Sprite  [read-only]

読み込まれるコンテンツよりも背面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。 この値は CastPreloader 経由で読み込まれた場合のみ有効です。

Implementation
    public function get background():Sprite
bottomproperty 
bottom:Number  [read-only]

ステージ下の Y 座標を取得します。 Get the bottom Y coordinate of the stage.

Implementation
    public static function get bottom():Number

See also

centerproperty 
center:Number  [read-only]

ステージ中央の X 座標を取得します。 Get the center X coordinate of the stage.

Implementation
    public static function get center():Number

See also

contextMenuproperty 
contextMenu:ContextMenu  [read-write]Implementation
    public function get contextMenu():ContextMenu
    public function set contextMenu(value:ContextMenu):void
executorproperty 
executor:ExecutorObject  [read-only]

関連付けられている ExecutorObject インスタンスを取得します。

Implementation
    public function get executor():ExecutorObject

See also

foregroundproperty 
foreground:Sprite  [read-only]

読み込まれるコンテンツよりも前面に表示したい DisplayObject を管理する Sprite インスタンスを取得します。 この値は CastPreloader 経由で読み込まれた場合のみ有効です。

Implementation
    public function get foreground():Sprite
isPreloadedproperty 
isPreloaded:Boolean  [read-only]

CastPreloader 経由で読み込まれているかどうかを取得します。

Implementation
    public function get isPreloaded():Boolean
leftproperty 
left:Number  [read-only]

ステージ左の X 座標を取得します。 Get the left X coordinate of the stage.

Implementation
    public static function get left():Number

See also

managerproperty 
manager:Progression  [read-only]

関連付けられている Progression インスタンスを取得します。

Implementation
    public function get manager():Progression

See also

middleproperty 
middle:Number  [read-only]

ステージ中央の Y 座標を取得します。 Get the center Y coordinate of the stage.

Implementation
    public static function get middle():Number

See also

numChildrenproperty 
numChildren:int  [read-only]

このオブジェクトの子の数を返します。 このインスタンスが SceneLoader によって読み込まれている場合には、関連付けられている DisplayObjectContainer の子の数を返します。

Implementation
    public function get numChildren():int
onReadyproperty 
onReady:Function  [read-write]

SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるイベントハンドラメソッドを取得または設定します。

Implementation
    public function get onReady():Function
    public function set onReady(value:Function):void

See also

parentproperty 
parent:DisplayObjectContainer  [read-only]

この表示オブジェクトを含む DisplayObjectContainer オブジェクトを示します。 このインスタンスが SceneLoader によって読み込まれている場合には、関連付けられている DisplayObjectContainer を示します。

Implementation
    public function get parent():DisplayObjectContainer
rightproperty 
right:Number  [read-only]

ステージ右の X 座標を取得します。 Get the right X coordinate of the stage.

Implementation
    public static function get right():Number

See also

rootproperty 
root:CastDocument  [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():CastDocument
selfproperty 
self:CastDocument  [read-only]

自身の参照を取得します。

Implementation
    public function get self():CastDocument
stageproperty 
stage:Stage  [read-only]

表示オブジェクトのステージです。 The Stage of the display object.

Implementation
    public static function get stage():Stage
topproperty 
top:Number  [read-only]

ステージ上の Y 座標を取得します。 Get the top Y coordinate of the stage.

Implementation
    public static function get top():Number

See also

Constructor detail
CastDocument()constructor
public function CastDocument(managerId:String = null, rootClass:Class = null, config:Configuration = null, initObject:Object = null)

新しい CastDocument インスタンスを作成します。 Creates a new CastDocument object.

Parameters
managerId:String (default = null)自動的に生成される Progression インスタンスの識別子です。 省略した場合には SWF ファイル名が自動的に割り当てられます。
 
rootClass:Class (default = null)自動的に生成される Progression インスタンスのルートシーンに関連付けたいクラスの参照です。
 
config:Configuration (default = null)自動的に生成される Progression インスタンスの初期化情報として使用したい Configuration インスタンスです。
 
initObject:Object (default = null)設定したいプロパティを含んだオブジェクトです。
Method detail
addChild()method
public override function addChild(child:DisplayObject):DisplayObject

この DisplayObjectContainer インスタンスに子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。 The DisplayObject instance to add as a child of this DisplayObjectContainer instance.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
addChildAt()method 
public override function addChildAt(child:DisplayObject, index:int):DisplayObject

この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。 The DisplayObject instance to add as a child of this DisplayObjectContainer instance.
 
index:int子を追加するインデックス位置です。 The index position to which the child is added. If you specify a currently occupied index position, the child object that exists at that position and all higher positions are moved up one position in the child list.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
addChildAtAbove()method 
public override function addChildAtAbove(child:DisplayObject, index:int):DisplayObject

この DisplayObjectContainer インスタンスの指定されたインデックス位置に子 DisplayObject インスタンスを追加します。 Adds a child DisplayObject instance to this DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子として追加する DisplayObject インスタンスです。 The DisplayObject instance to add as a child of this DisplayObjectContainer instance.
 
index:int子を追加するインデックス位置です。 The index position to which the child is added. If you specify a currently occupied index position, the child object that exists at that position and all higher positions are moved up one position in the child list.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
addCommand()method 
public function addCommand(... commands):void

特定のイベントが送出された際に、自動実行させたい Command インスタンスをリストの最後尾に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。

Parameters
... commands登録したいコマンドを含む配列です。

See also

atReady()method 
protected function atReady():void

SWF ファイルの読み込みが完了し、stage 及び loaderInfo にアクセス可能になった場合に呼び出されるオーバーライド・イベントハンドラメソッドです。

clearCommand()method 
public function clearCommand(completely:Boolean = false):void

登録されている Command インスタンスを削除します。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。

Parameters
completely:Boolean (default = false)true が設定されている場合は登録されている全てのコマンド登録を解除し、false の場合には現在処理中のコマンド以降の登録を解除します。

See also

contains()method 
public override function contains(child:DisplayObject):Boolean

指定された表示オブジェクトが DisplayObjectContainer インスタンスの子であるか、オブジェクト自体であるかを指定します。 Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.

Parameters
child:DisplayObjectテストする子 DisplayObject インスタンスです。 The child object to test.

Returns
Booleanchild インスタンスが DisplayObjectContainer の子であるか、コンテナ自体である場合は true となります。そうでない場合は false となります。 true if the child object is a child of the DisplayObjectContainer or the _container itself; otherwise false.
getChildAt()method 
public override function getChildAt(index:int):DisplayObject

指定のインデックス位置にある子表示オブジェクトオブジェクトを返します。 Returns the child display object instance that exists at the specified index.

Parameters
index:int子 DisplayObject インスタンスのインデックス位置です。 The index position of the child object.

Returns
DisplayObject指定されたインデックス位置にある子 DisplayObject インスタンスです。 The child display object at the specified index position.
getChildByName()method 
public override function getChildByName(name:String):DisplayObject

指定された名前に一致する子表示オブジェクトを返します。 Returns the child display object that exists with the specified name.

Parameters
name:String返される子 DisplayObject インスタンスの名前です。 The name of the child to return.

Returns
DisplayObject指定された名前を持つ子 DisplayObject インスタンスです。 The child display object with the specified name.
getChildIndex()method 
public override function getChildIndex(child:DisplayObject):int

子 DisplayObject インスタンスのインデックス位置を返します。 Returns the index position of a child DisplayObject instance.

Parameters
child:DisplayObject特定する子 DisplayObject インスタンスです。 The DisplayObject instance to identify.

Returns
int特定する子 DisplayObject インスタンスのインデックス位置です。 The index position of the child display object to identify.
insertCommand()method 
public function insertCommand(... commands):void

特定のイベントが送出された際に、自動実行させたい Command インスタンスをすでにリストに登録され、実行中の Command インスタンスの次の位置に追加します。 追加された Command インスタンスは、イベントが送出される直前に自動的に初期化されます。 このメソッドを使用するためには executor プロパティに CommandExecutor が実装されている必要があります。

Parameters
... commands登録したいコマンドを含む配列です。

See also

removeAllChildren()method 
public override function removeAllChildren():void

DisplayObjectContainer に追加されている全ての子 DisplayObject インスタンスを削除します。 Remove the whole child DisplayObject instance which added to the DisplayObjectContainer.

removeChild()method 
public override function removeChild(child:DisplayObject):DisplayObject

DisplayObjectContainer インスタンスの子リストから指定の DisplayObject インスタンスを削除します。 Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.

Parameters
child:DisplayObject対象の DisplayObjectContainer インスタンスの子から削除する DisplayObject インスタンスです。 The DisplayObject instance to remove.

Returns
DisplayObjectchild パラメータで渡す DisplayObject インスタンスです。 The DisplayObject instance that you pass in the child parameter.
removeChildAt()method 
public override function removeChildAt(index:int):DisplayObject

DisplayObjectContainer の子リストの指定されたインデックス位置から子 DisplayObject インスタンスを削除します。 Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.

Parameters
index:int削除する DisplayObject の子インデックスです。 The child index of the DisplayObject to remove.

Returns
DisplayObject削除された DisplayObject インスタンスです。 The DisplayObject instance that was removed.
setChildIndex()method 
public override function setChildIndex(child:DisplayObject, index:int):void

表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.

Parameters
child:DisplayObjectインデックス番号を変更する子 DisplayObject インスタンスです。 The child DisplayObject instance for which you want to change the index number.
 
index:intchild インスタンスの結果のインデックス番号です。 The resulting index number for the child display object.
setChildIndexAbove()method 
public override function setChildIndexAbove(child:DisplayObject, index:int):void

表示オブジェクトコンテナの既存の子の位置を変更します。 Changes the position of an existing child in the display object container.

Parameters
child:DisplayObjectインデックス番号を変更する子 DisplayObject インスタンスです。 The child DisplayObject instance for which you want to change the index number.
 
index:intchild インスタンスの結果のインデックス番号です。 The resulting index number for the child display object.
swapChildren()method 
public override function swapChildren(child1:DisplayObject, child2:DisplayObject):void

指定された 2 つの子オブジェクトの z 順序(重ね順)を入れ替えます。 Swaps the z-order (front-to-back order) of the two specified child objects.

Parameters
child1:DisplayObject先頭の子 DisplayObject インスタンスです。 The first child object.
 
child2:DisplayObject2 番目の子 DisplayObject インスタンスです。 The second child object.
swapChildrenAt()method 
public override function 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.

Parameters
index1:int最初の子 DisplayObject インスタンスのインデックス位置です。 The index position of the first child object.
 
index2:int2 番目の子 DisplayObject インスタンスのインデックス位置です。 The index position of the second child object.
updateManager()method 
public function updateManager():Boolean

マネージャーオブジェクトとの関連付けを更新します。

Returns
Boolean関連付けが成功したら true を、それ以外は false を返します。

See also

Event detail
managerActivateevent 
Event object type: jp.progression.events.ManagerEvent

Progression インスタンスとの関連付けがアクティブになったときに送出されます。

managerDeactivateevent  
Event object type: jp.progression.events.ManagerEvent

Progression インスタンスとの関連付けが非アクティブになったときに送出されます。