flash on 2009-7-10
♥0 |
Line 18 |
Modified 2009-07-10 02:49:16 |
MIT License
archived:2017-03-20 02:58:03
ActionScript3 source code
/**
* Copyright takawo ( http://wonderfl.net/user/takawo )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/p36x
*/
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.text.TextField;
public class FlashTest extends Sprite {
private var tf:TextField;
public function FlashTest()
{
tf = new TextField();
stage.addEventListener(Event.ADDED_TO_STAGE,aa);
stage.addChild(tf);
}
private function aa(event:Event = null):void
{
tf.text = "HELLO";
}
}
}