{"id":3259,"date":"2011-07-06T15:00:10","date_gmt":"2011-07-06T06:00:10","guid":{"rendered":"http:\/\/labs.gree.jp\/blog\/?p=3259"},"modified":"2021-04-27T15:03:37","modified_gmt":"2021-04-27T06:03:37","slug":"post3259","status":"publish","type":"post","link":"https:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/","title":{"rendered":"SWF\u30d0\u30a4\u30ca\u30ea\u7de8\u96c6\u306e\u30b9\u30b9\u30e1\u7b2c\u516b\u56de (Action - AS2 Bytecode\u7de8)"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u958b\u767a\u306e\u3088\u3084\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f SWF 3 \u304b\u3089\u5c0e\u5165\u3055\u308c\u305f DoAction \u30bf\u30b0\u3068\u3001\u305d\u308c\u306b\u542b\u307e\u308c\u308b ActionScript2(<a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnote_1\" id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_1\" title=\"Flash Lite 1.x \u306f ActionScript1 \u3067\u3059\u304c Bytecode \u5f62\u5f0f\u306f\u4e92\u63db\u3067\u3059\u306e\u3067\u3001ActionScript2 \u3068\u3057\u3066\u8a71\u3057\u307e\u3059\u3002\">*1<\/a>) Bytecode \u30a4\u30e1\u30fc\u30b8\u306e\u7de8\u96c6\u306b\u3064\u3044\u3066\u3001\u304a\u8a71\u3057\u307e\u3059\u3002<br \/>\n\u4f3c\u305f\u30bf\u30b0\u306b DoInitAction \u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5f62\u5f0f\u7684\u306b\u306f Sprite ID \u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u8ffd\u52a0\u4ee5\u5916\u306f\u540c\u3058\u3067\u3059\u306e\u3067\u8aac\u660e\u3092\u7701\u304d\u307e\u3059\u3002\u5c1a\u3001DoInitAction \u306f SWF 6 \u4ee5\u964d\u306e\u30bf\u30b0\u3067\u3059\u3002<\/p>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_0\"> \u7de8\u96c6\u306e\u76ee\u7684<\/h3>\n<p>Flash Lite1.1 \u306e SWF \u3092\u643a\u5e2f\u7aef\u672b\u3067\u8868\u793a\u3059\u308b\u5834\u5408\u3001URL \u3084 HTML \u30bf\u30b0\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u305b\u306a\u3044\u5236\u7d04\u304c\u3042\u308b\u306e\u3067\u3001ActionScript \u306e\u30ed\u30b8\u30c3\u30af\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059\u306e\u306b\u8272\u3005\u3068\u5de5\u592b\u306e\u3057\u304c\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<\/p>\n<ul>\n<li> (a) DoAction \u4e2d\u306e ActionScript2 Bytecode \u306e\u5148\u982d\u306b\u4ee3\u5165\u30a4\u30e1\u30fc\u30b8\u3092\u4ed8\u52a0\u3059\u308b<\/li>\n<li> (b)  \u3003  Bytecode  \u4e2d\u306e\u6587\u5b57\u5217\u3092\u5165\u308c\u66ff\u3048\u308b<\/li>\n<li> (c) \u5909\u6570\u306b bind \u3057\u305f DefineEditText(<a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnote_2\" id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_2\" title=\"\u8981\u671b\u304c\u3042\u308c\u3070 DefineEditText \u306e\u7de8\u96c6\u3082\u8a18\u4e8b\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\">*2<\/a>) \u4e2d\u306e\u6587\u5b57\u5217\u3092\u66f8\u304d\u63db\u3048\u308b<\/li>\n<\/ul>\n<p>\u7b49\u3001\u8272\u3005\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3046\u3061 (a) \u3068 (b) \u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u5fc5\u8981\u306a\u77e5\u8b58\u304b\u3089\u305d\u306e\u5b9f\u88c5\u307e\u3067\u4e00\u901a\u308a\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_1\"> DoAction \u30bf\u30b0\u3068\u306f<\/h3>\n<p>DoAction \u306f SWF 3 \u304b\u3089\u5c0e\u5165\u3055\u308c\u305f\u30bf\u30b0\u3067 ActionScript2 \u306e Bytecode(<a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnote_3\" id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_3\" title=\"\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u7d50\u679c\u306e\u30d0\u30a4\u30ca\u30ea\u3001VirtualMachine (\u3082\u3057\u304f\u306f CPU)\u304c\u89e3\u91c8\u3067\u304d\u308b\u547d\u4ee4\u5217\u304c\u4e26\u3076\">*3<\/a>)\u3092\u53ce\u7d0d\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u3059\u3002<br \/>\n<a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/doaction\/\" rel=\"attachment wp-att-3731\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/DoAction.png\" alt=\"\" title=\"DoAction\" width=\"440\" height=\"318\" class=\"aligncenter size-full wp-image-3731\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/DoAction.png 440w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/DoAction-276x200.png 276w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/a><\/p>\n<ul>\n<li> Actions(ACTIONRECORD [0 or more]) \u30d5\u30a3\u30fc\u30eb\u30c9\u306b ActionScript2 \u306e Bytecode \u304c\u5165\u308a\u307e\u3059\u3002<\/li>\n<li> Bytecode \u306e\u5206\u89e3\u306f\u7c21\u5358\u3067\u30010x7F \u4ee5\u4e0b\u3060\u3068 ActionCode \u5358\u4f53\u3067\u30010x80 \u4ee5\u4e0a\u306e\u6642\u306f\u5024\u304c\u5f8c\u308d\u306b\u7d9a\u304d\u307e\u3059\u3002<\/li>\n<li> 0x80 \u4ee5\u4e0a\u306e\u6642\u306e\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\u306f TLC(Type,Length,Content)\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u30d0\u30a4\u30ca\u30ea\u7de8\u96c6\u8005\u306b\u512a\u3057\u3044(<a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnote_4\" id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_4\" title=\"Type \u6bce\u306e Content \u8a73\u7d30\u3092\u77e5\u3089\u305a\u306b chunk \u5206\u89e3\u51fa\u6765\u308b\u306e\u3067\">*4<\/a>)\u5f62\u5f0f\u3067\u3059\u3002<\/li>\n<\/ul>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_2\"> Bytecode \u89e3\u6790<\/h3>\n<ul>\n<li>\n Data Payload \u306e\u4e2d\u8eab\u3092\u6c17\u306b\u3057\u306a\u3051\u308c\u3070\u3001Bytecode \u3092\u5206\u89e3\u3059\u308b\u306e\u306b\u4ee5\u4e0b\u306e\u51e6\u7406\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n<ul>\n<li> IO_Bit \u306f\u3053\u3061\u3089\u3092\u53c2\u7167 > <a href=\"http:\/\/openpear.org\/package\/IO_Bit\">http:\/\/openpear.org\/package\/IO_Bit<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"superpre php\">\n$reader = new IO_Bit();\n$reader->input($bytecode);\n$actions = array();\nwhile ($code = $reader->getUI8()) {\n    $action = array('Code' => $code);\n    if ($code >= 0x80) {\n        $length = $reader->getUI16LE();\n        $action['Length'] = $length;\n        $action['Data'] = $reader->getData($length); \/\/ Data Payload\n    }\n    $actions[] = $action; \n}<\/pre>\n<p>\u3082\u3046\u5c11\u3057\u9811\u5f35\u3063\u3066 ActionCode (\u306e\u540d\u524d)\u3084 Data Payload \u306e\u4e2d\u8eab\u3092\u89e3\u91c8\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<ul>\n<li> <a href=\"http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Type\/Action.php\">http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Type\/Action.php<\/a><\/li>\n<\/ul>\n<ul>\n<li> \u307e\u305a\u3001ActionCode \u4e00\u89a7\u3092\u30c6\u30fc\u30d6\u30eb\u3067\u5b9a\u7fa9\u3002<\/li>\n<\/ul>\n<pre class=\"superpre php\">\nclass IO_SWF_Type_Action extends IO_SWF_Type {\n    static $action_code_table = array(\n        \/\/ ActionCode only\n        0x04 => 'NextFrame',\n        0x05 => 'PreviousFrame',\n        0x06 => 'Play',<\/pre>\n<ul>\n<li> ActionCode \u306b\u5fdc\u3058\u3066 Data Payload \u306e\u4e2d\u8eab\u3092\u89e3\u91c8\u3002<\/li>\n<\/ul>\n<pre class=\"superpre php\">\n    static function parse(&$reader, $opts = array()) {\n        $action = array();\n        $code = $reader->getUI8();\n        $action['Code'] = $code;\n        if ($code >= 0x80) {\n            $length = $reader->getUI16LE();\n            $action['Length'] = $length;\n            switch ($code) {\n            case 0x81: \/\/ ActionGotoFrame\n                $action['Frame'] = $reader->getUI16LE();\n                break;<\/pre>\n<ul>\n<li> ActionCode \u306b\u5fdc\u3058\u3066\u3001\u5f8c\u308d\u306b\u7d9a\u304f Payload Data \u306e\u5f62\u5f0f\u304c\u6c7a\u307e\u308a\u307e\u3059\u3002<\/li>\n<li> SWF \u306e\u6587\u5b57\u5217(STRING)\u306f\u3001\\0 \u7d42\u7aef\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u3059\u3002\u9577\u3055\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6301\u305f\u306a\u3044\u306e\u3067\u51e6\u7406\u304c\u5c11\u3057\u9762\u5012\u3067\u3059\u3002\u53c8\u3001PHP \u306e String \u578b\u306f\u9014\u4e2d\u306b \\0 \u3092\u542b\u3081\u3089\u308c\u308b\u306e\u3067\u3001PHP \u306e API \u3092\u7528\u610f\u3059\u308b\u5834\u5408\u306f\u3001\u9014\u4e2d\u306e \\0 \u3092\u9664\u53bb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_3\"> (a) Bytecode \u306e\u982d\u306b\u4ee3\u5165\u30a4\u30e1\u30fc\u30b8\u3092\u4ed8\u52a0\u3059\u308b<\/h3>\n<p>\u5909\u6570\u4ee3\u5165\u306b\u76f8\u5f53\u3059\u308b Bytecode \u3092\u5148\u982d\u306b\u4ed8\u52a0\u3059\u308c\u3070\u5909\u6570\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u521d\u671f\u5316\u51fa\u6765\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3060\u3068 SWF \u4e2d\u306e Bytecode \u3092\u5f04\u3089\u305a\u306b\u6e08\u3080\u306e\u3067\u5b9f\u73fe\u3059\u308b\u306e\u304c\u697d\u3067\u3059\u3002<\/p>\n<h4 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_4\"> \u3069\u3093\u306a Bytecode \u3092\u4ed8\u52a0\u3059\u308b\u304b<\/h4>\n<p>\u8a66\u3057\u306b\u5909\u6570\u4ee3\u5165\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092 \u5165\u308c\u3066 Adobe Flash \u3067\u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"superpre actionscript\">\na = \"1\";\nb = \"2\";\nc = \"3\";<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a Bytecode \u304c\u3067\u304d\u307e\u3059\u3002 (IO_SWF \u4ed8\u5c5e\u306e swfdump.php \u306e\u8868\u793a\u3067\u3059)<\/p>\n<ul>\n<li>  IO_SWF \u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u53c2\u7167 > <a href=\"http:\/\/openpear.org\/package\/IO_SWF\">http:\/\/openpear.org\/package\/IO_SWF<\/a><\/li>\n<\/ul>\n<pre class=\"superpre \">\n% php \/usr\/share\/php\/sample\/swfdump.php  \\\n         -f actionpush.swf -h\n\uff1c\u7565\uff1e\nCode: 12(DoAction)  Length: 40\n    Actions:\n        Push(Code=0x96) (Length=3):\n            (String)a\n        Push(Code=0x96) (Length=3):\n            (String)1\n        SetVariable(Code=0x1D)\n        Push(Code=0x96) (Length=3):\n            (String)b\n        Push(Code=0x96) (Length=3):\n            (String)2\n        SetVariable(Code=0x1D)\n        Push(Code=0x96) (Length=3):\n            (String)c\n        Push(Code=0x96) (Length=3):\n            (String)3\n        SetVariable(Code=0x1D)\n             0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f  0123456789abcdef\n0x00000010                              3f 03 28 00 00 00 96           ? (\n0x00000020  03 00 00 61 00 96 03 00  00 31 00 1d 96 03 00 00     a     1\n0x00000030  62 00 96 03 00 00 32 00  1d 96 03 00 00 63 00 96  b     2      c\n0x00000040  03 00 00 33 00 1d 00<\/pre>\n<p>\u5148\u982d\u306e\u65b9\u3092\u624b\u4f5c\u696d\u3067\u89e3\u91c8\u3057\u3066\u3044\u304f\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5206\u89e3\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"superpre \">\n             0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f  0123456789abcdef\n0x00000010                              3f 03 28 00 00 00 96           ? (\n                                        <RH>  <- length-> Pu\n0x00000020  03 00 00 61 00 96 03 00  00 31 00 1d 96 03 00 00     a     1\n            <len> <T> a \\0 Pu <len> <T>  1 \\0 SV Pu ....\n\n- <RH>: RecordHeader tag\u306e\u30d8\u30c3\u30c0\n- <length>: Tag Content Length (= Bytecode \u5168\u4f53\u306e\u9577\u3055)\n- Pu: Push \u547d\u4ee4\n- <len>: Data Payload length\n- <T>: Type 0 \u306fString \u3092\u8868\u3059\n- SV: SetVariable \u547d\u4ee4<\/pre>\n<h4 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_5\"> \u5b9f\u88c5\u30b5\u30f3\u30d7\u30eb<\/h4>\n<p>\u3053\u308c\u3089\u306e\u5b9f\u9a13\u304b\u3089\u3001\u4ee5\u4e0b\u306e Bytecode \u3092\u5148\u982d\u306b\u4ed8\u52a0\u3059\u308b\u4e8b\u3067\u3001\u4efb\u610f\u306e\u5909\u6570\u306b\u4efb\u610f\u306e\u6587\u5b57\u5217\u3092\u4ee3\u5165\u51fa\u6765\u308b\u4e8b\u304c\u5206\u304b\u308a\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/setactionvariables\/\" rel=\"attachment wp-att-3718\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/setActionVariables.png\" alt=\"\" title=\"setActionVariables\" width=\"495\" height=\"283\" class=\"aligncenter size-full wp-image-3718\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/setActionVariables.png 495w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/setActionVariables-276x157.png 276w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<ul>\n<li> \u6e21\u3057\u305f\u3044\u5909\u6570\u3068\u4ee3\u5165\u5024\u306e\u6587\u5b57\u5217\u3092\u3001\u3048\u3093\u3058\u8272\u306e\u300c....\u300d\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u5f53\u3066\u5d4c\u3081\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>Bytecode \u751f\u6210\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"superpre php\">\n$bytecode = '';\nforeach ($trans_table as $key_str => $value_str) {\n    $key_strs   = exlode(\"\\0\", $key_str); \/\/ \\0 \u9664\u53bb\n    $value_strs = exlode(\"\\0\", $value_str); \/\/ \\0 \u9664\u53bb\n    $key_data   = chr(0).$key_strs[0].\"\\0\";\n    $value_data = chr(0).$value_strs[0].\"\\0\";\n    \/\/ Push (key)\n    $bytecode .= chr(0x96).pack('v', strlen($key_data)).$key_data;\n    \/\/ Push (value)\n    $bytecode .= chr(0x96).pack('v', strlen($value_data)).$value_data;\n    \/\/ SetVarables\n    $bytecode .= chr(0x1d);\n    \/\/ End\n    $bytecode .= chr(0);\n}<\/pre>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_6\"> (b) Bytecode \u4e2d\u306e\u6587\u5b57\u5217\u3092\u5165\u308c\u66ff\u3048\u308b<\/h3>\n<p>(a) \u65b9\u5f0f\u306e\u3088\u3046\u306b\u5148\u982d\u306b\u4ee3\u5165\u30a4\u30e1\u30fc\u30b8\u3092\u633f\u5165\u3059\u308b\u65b9\u5f0f\u3067\u306f\u3001\u672a\u521d\u671f\u5316\u306e\u5909\u6570\u3092\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3072\u306a\u578b SWF \u81ea\u4f53\u306b\u6c7a\u3081\u6253\u3061\u3067\u5024\u304c\u5165\u3063\u3066\u3044\u308c\u3070\u3001\u305d\u306e SWF \u5358\u4f53\u3067\u52d5\u4f5c\u30c6\u30b9\u30c8\u304c\u51fa\u6765\u308b\u306e\u3067\u3001\u6c7a\u3081\u6253\u3061\u306e\u5024\u3092\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u66f8\u304d\u63db\u3048\u308b\u65b9\u304c\u958b\u767a\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u3001Byecode \u4e2d\u306e\u6587\u5b57\u5217\u3092\u5165\u308c\u66ff\u3048\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/doactionstringreplace\/\" rel=\"attachment wp-att-3695\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/DoActionStringReplace.png\" alt=\"\" title=\"DoActionStringReplace\" width=\"441\" height=\"348\" class=\"aligncenter size-full wp-image-3695\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/DoActionStringReplace.png 441w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/DoActionStringReplace-253x200.png 253w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/a><\/p>\n<p>\u7de8\u96c6\u3057\u305f\u3044\u6587\u5b57\u5217\u304c\u5165\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b ActionCode \u3068\u3057\u3066\u306f\u3001GetURL, ConstantPool, \u305d\u3057\u3066 (a) \u3067\u3082\u6271\u3063\u305f Push \u547d\u4ee4\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<h4 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_7\"> GetURL (0x83)<\/h4>\n<p>\u307e\u305a\u3001GetURL \u3067\u3059\u3002<br \/>\n<a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actiongeturl\/\" rel=\"attachment wp-att-3698\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionGetURL.png\" alt=\"\" title=\"ActionGetURL\" width=\"426\" height=\"229\" class=\"aligncenter size-full wp-image-3698\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionGetURL.png 426w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionGetURL-276x148.png 276w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/a><\/p>\n<ul>\n<li> \u5f8c\u308d\u306b\u6587\u5b57\u5217\u304c\uff12\u3064\u4e26\u3076\u3060\u3051\u306a\u306e\u3067\u7c21\u5358\u306b\u5165\u308c\u66ff\u3048\u3089\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_8\"> ConstantPool (0x88)<\/h4>\n<p>\u304a\u6b21\u306f ConstantPool\u3002SWF5 \u4ee5\u964d\u306eActionCode \u306a\u306e\u3067\u3001Flash Lite 1.1 \u3067\u306f\u898b\u304b\u3051\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actionconstantpool\/\" rel=\"attachment wp-att-3699\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionConstantPool.png\" alt=\"\" title=\"ActionConstantPool\" width=\"429\" height=\"353\" class=\"aligncenter size-full wp-image-3699\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionConstantPool.png 429w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionConstantPool-243x200.png 243w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/a><\/p>\n<ul>\n<li> Count \u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u6570\u3060\u3051\u4e26\u3073\u307e\u3059\u304c\u3001\u5358\u7d14\u306b \\0 \u7d42\u7aef\u306e\u6587\u5b57\u5217\u304c\u4e26\u3076\u3060\u3051\u3067\u3059\u3002\u3053\u308c\u306e\u51e6\u7406\u3082\u7c21\u5358\u3067\u3059\u3002<\/li>\n<\/ul>\n<h4 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_9\"> Push (0x96)<\/h4>\n<p>\u6700\u5f8c\u306b Push\u3002\u3053\u306e\u547d\u4ee4\u306f\u8907\u6570\u306e\u5024\u3092\u4e00\u5ea6\u306b(\u30b9\u30bf\u30c3\u30af\u306b) Push \u51fa\u6765\u308b\u306e\u3067\u5c11\u3057\u9762\u5012\u3067\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u5909\u6570\u4ee3\u5165\u306f Push \u547d\u4ee4\u3092\u4f7f\u3046\u70ba\u3001\u3053\u308c\u306e\u51e6\u7406\u306f\u907f\u3051\u3089\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actionpush\/\" rel=\"attachment wp-att-3709\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionPush.png\" alt=\"\" title=\"ActionPush\" width=\"427\" height=\"327\" class=\"aligncenter size-full wp-image-3709\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionPush.png 427w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionPush-261x200.png 261w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/a><\/p>\n<ul>\n<li> \u3053\u306e value \u306f\u6587\u5b57\u5217\u4ee5\u5916\u306b\u6570\u5024\u3084(ConstantPool \u3078\u306e)\u53c2\u7167\u5024\u3092\u6271\u3048\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actionpush_type\/\" rel=\"attachment wp-att-3700\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionPush_Type.png\" alt=\"\" title=\"ActionPush_Type\" width=\"412\" height=\"286\" class=\"aligncenter size-full wp-image-3700\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionPush_Type.png 412w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/ActionPush_Type-276x191.png 276w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/a><\/p>\n<ul>\n<li> \u5404\u3005\u306e\u5024\u306b Type \u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u3042\u308b\u70ba\u3001Push \u3059\u308b\u8907\u6570\u306e\u5024\u306b\u6587\u5b57\u5217\u3084\u6570\u5024\u7b49\u3001\u8907\u6570\u306e Type \u304c\u6df7\u5728\u3059\u308b\u4e8b\u306b\u6ce8\u610f\u3057\u3066\u4e0b\u3055\u3044\u3002<\/li>\n<\/ul>\n<h4 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_10\"> \u5b9f\u88c5\u30b5\u30f3\u30d7\u30eb<\/h4>\n<ul>\n<li> \u5b9f\u88c5\u30b3\u30fc\u30c9\u5168\u4f53\u306f\u3053\u3061\u3089\u3067\u3059\u3002 \u2192 <a href=\"http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Type\/Action.php\">http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Type\/Action.php<\/a><\/li>\n<\/ul>\n<ul>\n<li> \u9577\u304f\u306a\u308b\u306e\u3067\u30b3\u30fc\u30c9\u306e\u5148\u982d\u306e\u65b9\u3060\u3051\u5f15\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<ul>\n<li> parse (\u30d0\u30a4\u30ca\u30ea\u306e\u5206\u89e3)<\/li>\n<\/ul>\n<pre class=\"superpre php\">\nstatic function parse(&$reader, $opts = array()) {\n    $action = array();\n    $code = $reader->getUI8();\n    $action['Code'] = $code;\n    if ($code >= 0x80) {\n        $length = $reader->getUI16LE();\n        $action['Length'] = $length;\n        switch ($code) {\n    \uff1c\u7565\uff1e\n        case 0x83: \/\/ ActionGetURL\n            $data = $reader->getData($length);\n            $strs = explode(\"\\0\", $data, 2+1);\n            $action['UrlString'] = $strs[0];\n            $action['TargetString'] = $strs[1];\n            break;\n    \uff1c\u7565\uff1e\n        case 0x88: \/\/ ActionConstantPool\n            $count = $reader->getUI16LE();\n            $action['Count'] = $count;\n            $data = $reader->getData($length - 2);\n            $strs = explode(\"\\0\", $data, $count+1);\n            $action['ConstantPool'] = array_splice($strs, 0, $count);\n            break;\n    \uff1c\u7565\uff1e\n        case 0x96: \/\/ ActionPush\n            $data = $reader->getData($length);\n            $values = array();\n            $values_reader = new IO_Bit();\n            $values_reader->input($data);\n            while ($values_reader->hasNextData()) {\n                $value = array();\n                $type = $values_reader->getUI8();\n                $value['Type'] = $type;\n                switch ($type) {\n                case 0: \/\/ STRING\n                    $value['String'] = IO_SWF_Type_String::parse($values_reader);\n                    break;\n                case 1: \/\/ Float\n                    $value['Float'] = IO_SWF_Type_Float::parse($values_reader);\n                    break;\n    \uff1c\u7565\uff1e<\/pre>\n<ul>\n<li> build (\u30d0\u30a4\u30ca\u30ea\u306e\u69cb\u7bc9)<\/li>\n<\/ul>\n<pre class=\"superpre php\">\nstatic function build(&$writer, $action, $opts = array()) {\n    $code = $action['Code'];\n    $writer->putUI8($code);\n    if (0x80 <= $code) {    \uff1c\u7565\uff1e\n        switch ($code) {\n    \uff1c\u7565\uff1e\n        case 0x83: \/\/ ActionGetURL\n            $data = $action['UrlString'].\"\\0\".$action['TargetString'].\"\\0\";\n            $writer->putUI16LE(strlen($data));\n            $writer->putData($data);\n            break;\n    \uff1c\u7565\uff1e\n        case 0x88: \/\/ ActionConstantPool\n            $count = count($action['ConstantPool']);\n            $data = implode(\"\\0\", $action['ConstantPool']).\"\\0\";\n            $writer->putUI16LE(strlen($data) + 2);\n            $writer->putUI16LE($count);\n            $writer->putData($data);\n            break;\n    \uff1c\u7565\uff1e\n        case 0x96: \/\/ ActionPush\n            $values_writer = new IO_Bit();\n            foreach ($action['Values'] as $value) {\n                $type = $value['Type'];\n                $values_writer->putUI8($type);\n                switch ($type) {\n                case 0: \/\/ STRING\n                    $str = $value['String'];\n                    $pos = strpos($str, \"\\0\");\n                    if ($pos === false) {\n                        $str .= \"\\0\";\n                    } else {\n                        $length = $pos + 1;\n                        $str = substr($str, 0, $pos);\n                    }\n                    $values_writer->putData($str);\n                    break;\n                case 1: \/\/ Float\n                    IO_SWF_Type_Float::build($values_writer, $value['Float']);\n                    break;\n    \uff1c\u7565\uff1e<\/pre>\n<p>parse \u3057\u305f\u5f8c\u3001\u5909\u6570\u306e\u4e2d\u8eab\u3092\u66f8\u304d\u63db\u3048\u3001build \u3057\u3066 SWF \u30d0\u30a4\u30ca\u30ea\u306b\u623b\u305b\u3070\u3001\u7de8\u96c6\u304c\u51fa\u6765\u308b\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/io_swf_edit_action\/\" rel=\"attachment wp-att-3770\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/IO_SWF_Edit_Action.png\" alt=\"\" title=\"IO_SWF_Edit_Action\" width=\"383\" height=\"266\" class=\"aligncenter size-full wp-image-3770\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/IO_SWF_Edit_Action.png 383w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/IO_SWF_Edit_Action-276x191.png 276w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/a><\/p>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_11\"> IO_SWF \u3067\u306e\u5b9f\u88c5<\/h3>\n<ul>\n<li>\n \u4e0a\u8a18\u306e (a) \u3068 (b) \u306e\u51e6\u7406\u3092 openpear \u306e IO_SWF \u4e0a\u306b\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>  install \u65b9\u6cd5<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre class=\"superpre \">\npear channel-discover openpear.org\npear install openpear\/IO_Bit\npear install openpear\/IO_SWF<\/pre>\n<ul>\n<li>  \u65e2\u306b install \u3055\u308c\u3066\u3044\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u5834\u5408<\/li>\n<\/ul>\n<pre class=\"superpre \">\npear upgrade openpear\/IO_Bit\npear upgrade openpear\/IO_SWF<\/pre>\n<ul>\n<li> \u7d20\u6750SWF\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actiontext\/\" rel=\"attachment wp-att-3644\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext.png\" alt=\"\" title=\"actiontext\" width=\"394\" height=\"382\" class=\"aligncenter size-full wp-image-3644\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext.png 394w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-206x200.png 206w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/a><\/p>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_12\"> (a) Bytecode \u306e\u982d\u306b\u4ee3\u5165\u30a4\u30e1\u30fc\u30b8\u3092\u4ed8\u52a0\u3059\u308b<\/h3>\n<p>(a) \u306e\u65b9\u5f0f\u3067\u306f\u3001orange \u306e\u6587\u5b57\u5217\u3092\u66f8\u304d\u63db\u3048\u308b\u4e8b\u304c\u51fa\u6765\u307e\u3059\u3002carrot \u306e\u65b9\u306f ActionScript \u306e\u4ee3\u5165\u547d\u4ee4\u304c\u65e2\u306b\u3042\u308b\u70ba\u3001\u5148\u982d\u306b\u4ee3\u5165\u547d\u4ee4\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u5dee\u3057\u8fbc\u3093\u3067\u3082\u3001\u305d\u306e\u5f8c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u30c0\u30e1\u3067\u3059\u3002<\/p>\n<ul>\n<li> \u5b9f\u88c5\u30b3\u30fc\u30c9\u306f <a href=\"http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Editor.php\">http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Editor.php<\/a> \u306e setActionVariables \u306b\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre class=\"superpre \">\n% php \/usr\/share\/php\/sample\/swfsetactionvariables.php \uffe5\n\u3000\u3000\u3000\u3000\u3000actiontext.swf fruit mikan > actiontext-mikan.swf<\/pre>\n<ul>\n<li> \u5909\u63db\u5f8c SWF (actiontext-mikan.swf)<\/li>\n<\/ul>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actiontext-mikan\/\" rel=\"attachment wp-att-3773\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-mikan.png\" alt=\"\" title=\"actiontext-mikan\" width=\"390\" height=\"153\" class=\"aligncenter size-full wp-image-3773\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-mikan.png 390w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-mikan-276x108.png 276w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/a><\/p>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_13\"> (b) Bytecode \u4e2d\u306e\u6587\u5b57\u5217\u3092\u5165\u308c\u66ff\u3048\u308b<\/h3>\n<p>(b) \u306e\u65b9\u6cd5\u3067\u306f carrot \u306e\u6587\u5b57\u5217\u3092\u66f8\u304d\u63db\u3048\u308b\u4e8b\u304c\u51fa\u6765\u307e\u3059\u3002orange \u306e\u6587\u5b57\u5217\u306f (DoAction \u3067\u306a\u304f) DefineEditText \u306e\u30bf\u30b0\u306e\u4e2d\u306b\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u308b\u70ba\u3001\u3053\u306e\u65b9\u6cd5\u3067\u306f\u5909\u66f4\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<ul>\n<li> \u5b9f\u88c5\u30b3\u30fc\u30c9\u306f <a href=\"http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Tag\/Action.php\">http:\/\/openpear.org\/package\/IO_SWF\/src\/trunk\/IO\/SWF\/Tag\/Action.php<\/a> \u306e replaceActionStrings \u306b\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre class=\"superpre \">\n% php \/usr\/share\/php\/sample\/swfreplaceactionstrings.php actiontext.swf \uffe5\n         carrot tomato > actiontext-tomato.swf<\/pre>\n<ul>\n<li> \u5909\u63db\u5f8c SWF (actiontext-tomato.swf)<\/li>\n<\/ul>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2011\/07\/3259\/actiontext-tomato-2\/\" rel=\"attachment wp-att-3744\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-tomato.png\" alt=\"\" title=\"actiontext-tomato\" width=\"395\" height=\"152\" class=\"aligncenter size-full wp-image-3744\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-tomato.png 395w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2011\/07\/actiontext-tomato-276x106.png 276w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/a><\/p>\n<p><\/p>\n<p>\u7c21\u5358\u3067\u3059\u306d\uff01<\/p>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_14\"> \u307e\u3068\u3081<\/h3>\n<ul>\n<li> ActionCode \u306e\u5206\u89e3\u306f\u7c21\u5358\u30020x80 \u4ee5\u4e0a\u306e\u6642\u306b (Length \u30d5\u30a3\u30fc\u30eb\u30c9\u4ed8\u304d\u3067) Data Payload \u304c\u7d9a\u304f\u3002<\/li>\n<li> Data Payload \u306e\u4e2d\u8eab\u306f ActionCode \u6bce\u306b\u9055\u3046\u306e\u3067\u5c11\u3057\u624b\u9593\u3002<\/li>\n<li> Push \u547d\u4ee4\u306f\u8907\u6570\u306e\u5024\u3092\u4e00\u5ea6\u306b Push \u51fa\u6765\u308b\u4e0a\u306b\u8272\u3093\u306a\u578b\u304c\u6df7\u5728\u3059\u308b\u306e\u3067\u9762\u5012\u3002<\/li>\n<li> \u6587\u5b57\u5217\u306f null(\\0) \u7d42\u7aef (\u305d\u308c\u7528\u306e Length\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6301\u305f\u306a\u3044)<\/li>\n<li> PHP \u306e\u6587\u5b57\u5217\u578b\u306f \\0 \u3092\u9014\u4e2d\u306b\u631f\u3081\u308b\u306e\u3067\u6ce8\u610f\u3002(null \u7d42\u7aef\u3067\u306f\u7121\u3044)<\/li>\n<li> \u6587\u5b57\u5217\u3092\u7de8\u96c6\u3057\u3066\u9577\u3055\u304c\u5909\u308f\u308b\u3068 Action Payload Data Length, Tag Length, SWF Header Length \u306e3\u3064\u306e Length \u3092\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/li>\n<li> \u3064\u307e\u308a\u3001\u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u5909\u3048\u305a\u306b replace \u3059\u308b\u306a\u3089\u3070\u3001\u9593\u306b \\0 \u3092\u542b\u307e\u306a\u3051\u308c\u3070\u3001\u4ed6\u306b\u66f8\u304d\u63db\u3048\u308b\u5fc5\u8981\u306a\u3057\u3002<\/li>\n<\/ul>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_15\"> \u53c2\u8003 URL<\/h3>\n<ul>\n<li>\n SWF \u4ed5\u69d8<\/p>\n<ul>\n<li>  <a href=\"http:\/\/www.adobe.com\/devnet\/swf.html\">http:\/\/www.adobe.com\/devnet\/swf.html<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n Flash Lite \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/p>\n<ul>\n<li>  <a href=\"http:\/\/www.adobe.com\/support\/documentation\/jp\/flashlite\/\">http:\/\/www.adobe.com\/support\/documentation\/jp\/flashlite\/<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n SWF \u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u633f\u5165<\/p>\n<ul>\n<li> <a href=\"http:\/\/libpanda.s18.xrea.com\/commentary.txt\">http:\/\/libpanda.s18.xrea.com\/commentary.txt<\/a><\/li>\n<li> <a href=\"http:\/\/libpanda.s18.xrea.com\/test_insert\/swfmake.php.txt\">http:\/\/libpanda.s18.xrea.com\/test_insert\/swfmake.php.txt<\/a><\/li>\n<\/ul>\n<\/li>\n<li>\n SWF\/format\/Action<\/p>\n<ul>\n<li>  <a href=\"http:\/\/pwiki.awm.jp\/~yoya\/?Flash\/SWF\/format\/Action\">http:\/\/pwiki.awm.jp\/~yoya\/?Flash\/SWF\/format\/Action<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"hs_ef987cd396b754a7182e693e59b2cdf2_header_16\"> \u6700\u5f8c\u306b<\/h3>\n<p>\u6b21\u56de\u306f\u3001DefineShape \u306e\u7d9a\u304d\u304b\u3001DefineEditText \u304b DefineSprite \u306e\u3044\u305a\u308c\u304b\u3092\u53d6\u308a\u4e0a\u3052\u308b\u4e88\u5b9a\u3067\u3059\u3002<br \/>\n\u305d\u308c\u3067\u306f\u3002<\/p>\n<div class=\"footnote\">\n<p id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnote_1\"><a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_1\">*1<\/a>: Flash Lite 1.x \u306f ActionScript1 \u3067\u3059\u304c Bytecode \u5f62\u5f0f\u306f\u4e92\u63db\u3067\u3059\u306e\u3067\u3001ActionScript2 \u3068\u3057\u3066\u8a71\u3057\u307e\u3059\u3002<\/p>\n<p id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnote_2\"><a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_2\">*2<\/a>: \u8981\u671b\u304c\u3042\u308c\u3070 DefineEditText \u306e\u7de8\u96c6\u3082\u8a18\u4e8b\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059<\/p>\n<p id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnote_3\"><a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_3\">*3<\/a>: \u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u7d50\u679c\u306e\u30d0\u30a4\u30ca\u30ea\u3001VirtualMachine (\u3082\u3057\u304f\u306f CPU)\u304c\u89e3\u91c8\u3067\u304d\u308b\u547d\u4ee4\u5217\u304c\u4e26\u3076<\/p>\n<p id=\"hs_ef987cd396b754a7182e693e59b2cdf2_footnote_4\"><a href=\"#hs_ef987cd396b754a7182e693e59b2cdf2_footnotelink_4\">*4<\/a>: Type \u6bce\u306e Content \u8a73\u7d30\u3092\u77e5\u3089\u305a\u306b chunk \u5206\u89e3\u51fa\u6765\u308b\u306e\u3067<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u958b\u767a\u306e\u3088\u3084\u3067\u3059\u3002 \u4eca\u56de\u306f SWF 3 \u304b\u3089\u5c0e\u5165\u3055\u308c\u305f DoAction \u30bf\u30b0\u3068\u3001\u305d\u308c\u306b\u542b\u307e\u308c\u308b ActionScript2(*1) Bytecode \u30a4\u30e1\u30fc\u30b8\u306e\u7de8\u96c6\u306b\u3064\u3044\u3066\u3001\u304a\u8a71\u3057\u307e\u3059\u3002 \u4f3c\u305f [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[18],"class_list":["post-3259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-info","tag-flash"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/3259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/comments?post=3259"}],"version-history":[{"count":3,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/3259\/revisions"}],"predecessor-version":[{"id":21157,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/3259\/revisions\/21157"}],"wp:attachment":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/media?parent=3259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/categories?post=3259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/tags?post=3259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}