Get Adobe Flash player

Dynamic Text In Action Script 3.0

July 15th, 2010 | Comments Off
category: Software

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var myTextField:TextField = new TextField  ;
addChild(myTextField);

myTextField.text = "lkasdjf lksdajf lksdafjsd alkfjsdalk fsdklajflk sdajfl; kjsdaf";
myTextField.x = stage.stageWidth/2;
myTextField.y = stage.stageHeight/2;
myTextField.selectable = false;
myTextField.border = false;
myTextField.autoSize = TextFieldAutoSize.CENTER;

var myFormat:TextFormat = new TextFormat  ;
myFormat.color = 0x000000;
myFormat.size = 24;
myFormat.leftMargin = 3;
myFormat.rightMargin = 3;
myTextField.setTextFormat(myFormat);
GD Star Rating
loading...


Comments are closed.



Content

Need to pay for services?


Banner    

Contact me


  

Socially you can find me here


                 

        


Need to pick up a few things before you leave?


Grasshopper - The Entrepreneur's Phone System   Affordable Premium Custom Flash Photo and Video Gallery Templates
2010 Copyright © Todd Vaughn. All rights reserved. Register