チェンジセット 834
- コミット日時:
- 2008/07/13 00:12:33 (4 年前)
- ファイル:
-
- air/ByteCodeDisassembler/ByteCodeDisassembler.as (コピー) (as3/ByteCodeDisassembler/ByteCodeDisassembler.as から コピー) (1 prop)
- air/ByteCodeDisassembler/Controller.as (追加)
- air/ByteCodeDisassembler/Main.mxml (更新) (1 diff)
- air/ByteCodeDisassembler/Makefile (更新) (1 diff)
- air/ByteCodeDisassembler/org (コピー) (as3/ByteCodeDisassembler/org から コピー) (1 prop)
- air/ByteCodeDisassembler/org/libspark/disassemble/SwfStream.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
air/ByteCodeDisassembler/ByteCodeDisassembler.as
- 属性の設定値: svn:mergeinfo (登録)
air/ByteCodeDisassembler/Main.mxml
r811 r834 1 1 <Application xmlns="http://www.adobe.com/2006/mxml" 2 2 width="100%" height="100%" 3 horizontalAlign="left" verticalAlign="top"> 3 horizontalAlign="left" verticalAlign="top" 4 creationComplete="init()"> 4 5 <Script> 5 6 <![CDATA[ 6 function open() : void{ 7 trace('hoge'); 7 import mx.controls.Label; 8 import Controller; 9 private var controller : Controller = new Controller(); 10 11 private function init() : void{ 12 var self : Object = this; 13 controller.onUpdate = function() : void{ 14 self.tree.dataProvider = controller.frame; 15 }; 16 } 17 18 private function open() : void{ 19 controller.disassemble(this.path.text); 8 20 } 9 21 ]]> 10 22 </Script> 11 23 <HBox width="100%" height="20"> 12 <TextInput width="100%" enter="open()"/>24 <TextInput width="100%" id="path" enter="open()" text="http://localhost:3001/swf/Main.swf"/> 13 25 <Button label="..." /> 14 26 </HBox> 15 27 <HBox width="100%" height="100%"> 16 <Tree width="200" height="100%" />28 <Tree width="200" height="100%" id="tree"/> 17 29 <Button label="hoge" /> 18 30 </HBox> air/ByteCodeDisassembler/Makefile
r811 r834 5 5 rascut: 6 6 LC_ALL=C rascut -s Main.mxml -l ~/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt 7 8 cleanlog: 9 rm ~/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt 7 10 clean: 8 11 rm *~ air/ByteCodeDisassembler/org
- 属性の設定値: svn:mergeinfo (登録)
air/ByteCodeDisassembler/org/libspark/disassemble/SwfStream.as
r299 r834 57 57 var byte1:uint = readByte(); 58 58 if (byte1 != 0x46 && byte1 != 0x43) { 59 throw new Error('Invalid SWF file ');59 throw new Error('Invalid SWF file(1):'+byte1); 60 60 } 61 61 if (readByte() != 0x57) { 62 throw new Error('Invalid SWF file ');62 throw new Error('Invalid SWF file:2'); 63 63 } 64 64 if (readByte() != 0x53) { 65 throw new Error('Invalid SWF file ');65 throw new Error('Invalid SWF file:3'); 66 66 } 67 67 … … 69 69 70 70 if (readUnsignedInt() != length) { 71 throw new Error('Invalid SWF file ');71 throw new Error('Invalid SWF file:4'); 72 72 } 73 73

