※現在、「wonderfl build flash online」求人コンテンツ制作に関してのアンケートを実施中です!みなさまのお力添えを頂いて、続々とアンケート結果が集まっていますが、まだまだ募集しております。ご協力のほど、どうぞよろしくお願いいたします!

wonderfl運営事務局
→アンケートページ(※ログインしてからお答えいただけるようになっています。)

 notice: Flash editor updated! Join the development! Thanks to MiniBuilder


forked from : makc3d's Adobe is being the bitch [diff(6)]

FAVORITE BY
:
”001”が何を意味しているのか気になります。”001”の後も気になります。
:
interesting... now what's that noise after 001 could be?
:
俺はByteArrayに入れてたがこっちでも読めるのか
:
mark3dさんのポエムを解読
FORKED

forked from: Adobe is being the bitch Poem Reader [diff(56)]

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  3.     <mx:Script>
  4.         <![CDATA[
  5.         
  6.         // forked from ton's forked from: Adobe is being the bitch
  7.         // forked from makc3d's Adobe is being the bitch
  8.         
  9.         /**
  10.          * Poem Reader
  11.          * @see http://wonderfl.kayac.com/code/152b9ab3b9d58cece9ce00966dd4ab248d3317aa
  12.          */
  13.             
  14.         private const POEM:String = "47 65 6e 75 69 6e 65 20 41 64 6f 62 65 20 46 6c 61 73 68 20 50 6c 61 79 65 72 20 30 30 31 f0 ee c2 4a 80 68 be e8 2e 00 d0 d1 02 9e 7e 57 6e ec 5d 2d 29 80 6f ab 93 b8 e6 36 cf eb 31 ae "
  15.             
  16.         private function decode():void
  17.         {
  18.             var poemArr:Array = poem.text.split(" ");
  19.             var result:String = "" 
  20.             
  21.             for (var i:int = 0; i < poemArr.length; i++) {
  22.                 var s:String = unescape("%" + Number("0x" + poemArr[i]).toString(16)) + " ";
  23.                 result += s;
  24.                 if (i % 8 == 7)
  25.                     result += "\n";
  26.             }
  27.             
  28.             orijinal.text = result
  29.         }
  30.         
  31.         private function encode():void
  32.         {
  33.             // escapeしたらうまくいくと思ったのですが、
  34.             // アルファベットはescapeできないのですね。無念。
  35.         }
  36.             
  37.         ]]>
  38.     </mx:Script>
  39.     <mx:HBox width="100%" height="100%">
  40.         
  41.         <mx:Panel title="Poem" width="100%" height="100%">
  42.             <mx:TextArea id="poem" width="100%" height="100%" text="{POEM}" />
  43.         </mx:Panel>
  44.         
  45.         <mx:VBox height="100%">
  46.             <mx:Button label=">" click="decode()" toolTip="decode" />
  47.             <mx:Button label="<" click="encode()" toolTip="encode" enabled="false" />
  48.         </mx:VBox>
  49.         
  50.         <mx:Panel title="Orijinal" width="100%" height="100%">
  51.             <mx:TextArea id="orijinal" width="100%" height="100%" />
  52.         </mx:Panel>
  53.         
  54.     </mx:HBox>
  55. </mx:Application>
noswf
Get Adobe Flash Player