In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

Number クラスにある Math 系のメソッド

Number["random"]();
何のために追加されたの?
/**
 * Copyright bkzen ( http://wonderfl.net/user/bkzen )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/ncBV
 */

package {
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var txt:TextField = new TextField();
            txt.autoSize = "left";
            txt.text = "click";
            addChild(txt);
            stage.addEventListener(MouseEvent.CLICK, function():void{
                txt.text = Number["random"]() + "\n" + 
                (~[][{}])[<>{/./(/.. /({}))}{/.$/(/../({}))}{/./(/./([]))}{/./(/..$/(!{}))}{/.../(!!{})}{/../(/.. /({}))}{/.$/(/../({}))}{/.$/(/../(!!{}))}</>]
                [<>{/.$/(/../(!!{}))}{/.$/(/../(!{}))}{/.$/(/../([][{}]))}{/.$/([][{}])}{/.$/(/../({}))}{/.$/(/ .../((~[][{}])[<>{/./(/.. /({}))}{/.$/(/../({}))}{/./(/./([]))}{/./(/..$/(!{}))}{/.../(!!{})}{/../(/.. /({}))}{/.$/(/../({}))}{/.$/(/../(!!{}))}</>]))}</>]();
            });
            
        }
    }
}