flash on 2010-1-26

by hacker_9p8x8mco
♥0 | Line 14 | Modified 2010-01-27 21:57:50 | MIT License
play

ActionScript3 source code

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

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" mouseMove="mouseMoveHandler(event)">
<mx:TextInput x="96" y="10" id="move_txt"/>
<mx:Label x="19" y="12" text="mouse:"/>
<mx:Script>
<![CDATA[
	private function mouseMoveHandler(event:MouseEvent):void{
		var x:Number = this.mouseX;
		var y:Number = this.mouseY;
		move_txt.text = x + "," + y;
	}
]]>
</mx:Script>
</mx:Application>