flash on 2011-4-2

by ic_yas
♥0 | Line 20 | Modified 2011-04-02 11:57:20 | MIT License
play

ActionScript3 source code

/**
 * Copyright ic_yas ( http://wonderfl.net/user/ic_yas )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/bDce
 */

package
{
    import flash.text.TextField;
    import flash.display.Sprite;
    import frocessing.math.Random;
 
    [SWF(backgroundColor="#FFFFFF", frameRate="60", width="475", height="475")]
 
    public class Main extends Sprite
    {
        public function Main()
        {    
            var txt:TextField = new TextField();
            for (var i:int = 0; i < 5; i++)
            {
                // var data:Array = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);accessibilityImplementation
                var data:Array = Random.shakedIntegers(10);
                //data = Random.shake(data); 
                //txt.text += String(data+"\n");
                txt.appendText(String(data+"\n"));
               // trace(data);
            }
            addChild(txt);
        }
    }
}