flash on 2010-5-20
♥0 |
Line 17 |
Modified 2010-05-20 23:23:38 |
MIT License
archived:2017-03-20 16:43:24
ActionScript3 source code
/**
* Copyright hacker_johiroshi ( http://wonderfl.net/user/hacker_johiroshi )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/d2WU
*/
package
{
import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.text.TextField;
public class Main extends Sprite
{
public function Main()
{
var tf:TextField = new TextField();
tf.text = "abcdefg";
addChild(tf);
tf.visible =true;
tf.addEventListener(MouseEvent.CLICK, function():void { trace("3"); } );
}
}
}