flash on 2011-11-15
♥0 |
Line 16 |
Modified 2011-11-15 12:24:10 |
MIT License
archived:2017-03-30 03:01:05
ActionScript3 source code
/**
* Copyright tepe ( http://wonderfl.net/user/tepe )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/woio
*/
package {
import flash.display.Sprite;
import flash.system.*;
import flash.text.*;
public class FlashTest extends Sprite {
private var t1:TextField = new TextField();
public function FlashTest() {
// write as3 code here..
with(t1){
border = true;
text = "aaa";
type = "input";
}
addChild(t1);
}
/*
private function setIME():void{
//IMEモードを強制的に英数に
if( Capabilities.hasIME ){
try{
// 半角英数字にする場合(直接入力の場合、IMEを使用不可にする)
IME.enabled = false;
}catch( err:Error ){
}
}
}
*/
}
}