In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

日本語変換のバグ

Get Adobe Flash player
by arkw 21 May 2009

    Tags

    bug
    Embed
/**
 * Copyright arkw ( http://wonderfl.net/user/arkw )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/4lM3
 */

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 = 0.99;
            tf.border = true;
            addChild(tf);            
        }
    }
}