Align Text in the TextField using ActionScript 3 in Flash Professional

Posted by & filed under Action Script 3, ADOBE FLEX, Flash.

 

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);

The above text in the TextField align towards left side.

here is the list other align methods

 

TextFieldAutoSize.NONE (default):
TextFieldAutoSize.LEFT:
TextFieldAutoSize.CENTER:
TextFieldAutoSize.RIGHT:

Download Premium Only Scripts & 80+ Demo scripts Instantly at just 1.95 USD per month + 10% discount to all Exclusive Scripts

If you want any of my script need to be customized according to your business requirement,

Please feel free to contact me [at] muni[at]smarttutorials.net

Note: But it will be charged based on your customization requirement

Get Updates, Scripts & Other Useful Resources to your Email

Join 10,000+ Happy Subscribers on feedburner. Click to Subscribe (We don't send spam)
Every Email Subsciber could have access to download 100+ demo scripts & all future scripts.

Get Instant Script Download Access!

adultporntrials.biz sluttyxxxporn.com skinporngalls.com tubevaporn tellyporn thatpornpage adultporntrials youvideoporno heresyourporn chuley xxxpornarchives.net dzsexy onlinepornteens