import flash.text.TextField; import flash.events.MouseEvent; import flash.text.TextFormat; import flash.display.StageAlign; import flash.display.StageScaleMode; public class Main extends Sprite { private var multilineField:TextField; private var redFormat:TextFormat; private var blackFormat:TextFormat;
public function Main() { stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE;
redFormat = new TextFormat(); redFormat.color = 0xFF0000;
blackFormat = new TextFormat(); blackFormat.color = 0x000000;