チェンジセット 368: as3/Cohesion
- コミット日時:
- 2008/05/02 15:26:38 (4 年前)
- ファイル:
-
- as3/Cohesion/framework/trunk/Bootstrap/jp/cohesion/core/managers/GadgetManager.as (更新) (1 diff)
- as3/Cohesion/framework/trunk/CHCommon/jp/cohesion/common/CohesionMovieClip.as (更新) (4 diffs)
- as3/Cohesion/framework/trunk/CHCommon/jp/cohesion/common/module/MovieLoaderGadget.as (更新) (1 diff)
- as3/Cohesion/framework/trunk/SystemCommands/SystemCommand.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/Cohesion/framework/trunk/Bootstrap/jp/cohesion/core/managers/GadgetManager.as
r345 r368 135 135 var gnum:int = gadgets.getChildIndex(gadget); 136 136 if(tnum > gnum){ 137 gadgets.s wapChildrenAt(tnum, gnum);137 gadgets.setChildIndex(gadget, tnum); 138 138 } 139 139 } as3/Cohesion/framework/trunk/CHCommon/jp/cohesion/common/CohesionMovieClip.as
r363 r368 18 18 import flash.display.MovieClip; 19 19 import jp.cohesion.common.IKernel; 20 import jp.cohesion.common.module.MovieLoaderGadget; 20 21 21 22 … … 60 61 private var _module:ModuleProxy; 61 62 63 /* ***********************************************************************>> */ 64 /** 65 * 66 */ 67 public function get gadget():MovieLoaderGadget { return _gadget; } 68 /** @private */ 69 private var _gadget:MovieLoaderGadget; 70 62 71 // インスタンスメソッド ///////////////////////////////////////////////////////////// 63 72 // Instance Methods // … … 65 74 66 75 /** 67 * MovieLoader モジュールより呼ばれます。76 * MovieLoaderGadgetより呼ばれます。 68 77 * 69 78 * @param kernel 70 79 * @param module 71 80 * @param myname 81 * @param gadget 72 82 */ 73 public final function initialize(kernel:IKernel, module:ModuleProxy, myname:String ):void {83 public final function initialize(kernel:IKernel, module:ModuleProxy, myname:String, gadget:MovieLoaderGadget):void { 74 84 this._kernel = kernel; 75 85 this._module = module; 76 86 this._myname = myname; 87 this._gadget = gadget; 77 88 78 89 initMovie(); … … 84 95 public function initMovie():void { 85 96 } 97 98 // インスタンスメソッド ///////////////////////////////////////////////////////////// 99 // Instance Methods // 100 ///////////////////////////////////////////////////////////////////////////////////// 101 102 /** 103 * 104 * @param moveToTop 105 */ 106 public function callFocus(moveToTop:Boolean = true):void { 107 _kernel.callFocus(_gadget, moveToTop); 108 } 86 109 87 110 } as3/Cohesion/framework/trunk/CHCommon/jp/cohesion/common/module/MovieLoaderGadget.as
r366 r368 236 236 237 237 try { 238 this._sprite["initialize"](kernel, kernel.createModuleProxy(_moduleName), gadgetName );238 this._sprite["initialize"](kernel, kernel.createModuleProxy(_moduleName), gadgetName, this); 239 239 }catch (err:Error) { ; } 240 240 as3/Cohesion/framework/trunk/SystemCommands/SystemCommand.as
r366 r368 68 68 /** 69 69 * 70 * @param ...args70 * @param args 71 71 * @return 72 72 */ 73 public function loadMovie( ...args):Object {73 public function loadMovie(args:Array):Object { 74 74 if (args === null || args.length < 1) { return null; } 75 75 … … 84 84 /** 85 85 * 86 * @param ...args86 * @param args 87 87 * @return 88 88 */ 89 public function removeMovie( ...args):Object {89 public function removeMovie(args:Array):Object { 90 90 if (args != null && args.length > 0) { 91 91 var name:String = args[0];

