Align Text in the TextField in ActionScript 3 little different than using ActionScript 2. Here is the list of samples to align text in the TextField using ActionScript 3. var txt:TextField= new TextField; txt.text=”happy morning”; txt.autoSize = TextFieldAutoSize.LEFT; addChild(txt);….. Read More >>>>
Continue Reading »Flash
TextFormatting in ActionScript 3 (setTextFormat)
The setTextFormat() method in actionScript 2 used to set the font properties to the text fields. example: var txt_format:TextFormat = new TextFormat();//TextFormat class creates new instances of it. this.createTextField(“txt_field”, this.getNextHighestDepth(), 0, 0, 180, 80);//creates new text field txt_format.color = 0x00FF00;….. Read More >>>>
Continue Reading »