チェンジセット 222
- コミット日時:
- 2008/01/29 19:33:43 (4 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/Chain/src/com/voidelement/chain/LoaderChain.as
r221 r222 1 1 package com.voidelement.chain { 2 import flash.display.DisplayObjectContainer; 2 3 import flash.display.Loader; 3 4 import flash.events.*; … … 30 31 if ( param.hasOwnProperty("context") && ( param.context is LoaderContext ) ) { 31 32 _context = param.context; 33 } 34 35 if ( param.hasOwnProperty("target") && ( param.target is DisplayObjectContainer ) ) { 36 DisplayObjectContainer( param.target ).addChild( _loader ); 32 37 } 33 38 … … 110 115 _loader.contentLoaderInfo.addEventListener( IOErrorEvent.IO_ERROR, errorHandler ); 111 116 _loader.contentLoaderInfo.addEventListener( SecurityErrorEvent.SECURITY_ERROR, errorHandler ); 112 _loader.contentLoaderInfo.addEventListener( HTTPStatusEvent.HTTP_STATUS, httpStatusHandler );117 // _loader.contentLoaderInfo.addEventListener( HTTPStatusEvent.HTTP_STATUS, httpStatusHandler ); 113 118 114 119 _loader.load( _request, _context ); … … 144 149 _loader.contentLoaderInfo.removeEventListener( IOErrorEvent.IO_ERROR, errorHandler ); 145 150 _loader.contentLoaderInfo.removeEventListener( SecurityErrorEvent.SECURITY_ERROR, errorHandler ); 146 _loader.contentLoaderInfo.removeEventListener( HTTPStatusEvent.HTTP_STATUS, httpStatusHandler );151 // _loader.contentLoaderInfo.removeEventListener( HTTPStatusEvent.HTTP_STATUS, httpStatusHandler ); 147 152 } 148 153 }

