flash on 2011-2-15
♥0 |
Line 22 |
Modified 2011-02-15 16:47:59 |
MIT License
archived:2017-03-20 13:57:41
ActionScript3 source code
/**
* Copyright heroboy ( http://wonderfl.net/user/heroboy )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/3Zaq
*/
package {
import flash.text.TextField;
import flash.display.*;
import flash.ui.*;
public class FlashTest extends Sprite {
public function FlashTest() {
var text:TextField = new TextField();
text.width = 300;
text.height = 50;
var m:Object = Mouse;
try{
//text.text = "hello" + Mouse["registerCursor"].toString();
text.appendText("hello:");
//text.appendText(m.supportsNativeCursora);
//m.supportsNativeCursor= 1;
text.appendText(m.supportsNativeCursora);
}
catch(e:Error)
{
text.text = "error:"+e.message;
}
addChild(text);
//trace(Mouse);
//Mouse["registerCursor"]("",null);
}
}
}