チェンジセット 848: air/ByteCodeDisassembler/Main.mxml
- コミット日時:
- 2008/07/15 23:13:06 (4 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
air/ByteCodeDisassembler/Main.mxml
r843 r848 11 11 private function init() : void{ 12 12 var self : Object = this; 13 controller.add LoadListener(function() : void{13 controller.addEventListener(Controller.LOAD,function(event : Event) : void{ 14 14 self.tree.dataProvider = controller.frame; 15 15 }); 16 16 17 controller.add InfoListener(function() : void{17 controller.addEventListener(Controller.INFO,function(event : Event) : void{ 18 18 switch(controller.info.tag){ 19 19 case 'abc': … … 29 29 } 30 30 }); 31 controller.addProgressListener(function () : void{ 32 self.progress.setProgress(self.controller.bytesLoaded,self.controller.bytesTotal); 33 }); 31 this.progress.source = controller; 34 32 } 35 33 ]]> … … 50 48 </HBox> 51 49 </HBox> 52 <ProgressBar width="100%" id="progress" mode="manual"/>50 <ProgressBar width="100%" id="progress" /> 53 51 </Application>

