flash on 2012-5-11

by Hio818214
♥0 | Line 19 | Modified 2012-05-11 04:29:07 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            /*
            var 顔:絵 = new 絵(stage,"('A`)",300,400);
            var っ:絵 = new 絵(stage,"っ",325,400);
            var c:絵 = new 絵(stage,"c",290,400);
            var まる:絵 = new 絵(stage,"●",340,400);
            var 導火線1:絵 = new 絵(stage,"~", 352,400);
            var 導火線2:絵 = new 絵(stage,"~", 364,400);
            var 導火線3:絵 = new 絵(stage,"~", 376,400);
            var 火:絵 = new 絵(stage,"*", 388,400);
            */
        }
    }

}

import flash.display.Stage;
import flash.text.TextField;

class  extends TextField{
    public function (s:Stage,t:String,x:int,y:int){
        this.text = t;
        this.x = x;
        this.y = y;
        this.mouseEnabled = false;
        s.addChild(this);            
    }

}