forked from: 日本語変換のバグ
forked from 日本語変換のバグ (diff: 2)
ActionScript3 source code
/**
* Copyright taiga ( http://wonderfl.net/user/taiga )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/1Z1v
*/
// forked from arkw's 日本語変換のバグ
package {
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.text.TextField;
import flash.text.TextFieldType;
[SWF(width="400",height="400")]
public class testTL extends Sprite
{
public function testTL()
{
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.BOTTOM;
var tf:TextField = new TextField();
tf.type = TextFieldType.INPUT;
tf.width = 300;
tf.height = 100;
tf.x = 0;
tf.y = 0;
tf.background = true;
tf.backgroundColor = 0xEEEEEE;
tf.alpha = 2;
tf.border = true;
addChild(tf);
}
}
}
