Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-13-2007, 09:25 PM   #1
janper
Registered User
 
Join Date: Apr 2007
Posts: 9
Default textformat.align

hello

this works except the alignment is still left

any good idea?

Code:
var myTF:TextFormat = new TextFormat();
		myTF.font = "Arial";
		myTF.size = 10;
		myTF.color = 0x99CC00;
		myTF.align = "right";
		myTF.bold = true;
		
		
		tf_meno = this.createTextField("text_meno", this.getNextHighestDepth(), -250, -18, 235, 17.4);
		tf_meno.setNewTextFormat(myTF);
janper is offline   Reply With Quote
Old 04-13-2007, 09:40 PM   #2
podlium
cheers
 
podlium's Avatar
 
Join Date: Mar 2007
Posts: 92
Send a message via Skype™ to podlium
Default

hi,

are you setting text after or before setting TextFormat to tf_meno?
__________________
resistance is futile!!!
podlium is offline   Reply With Quote
Old 04-13-2007, 09:59 PM   #3
janper
Registered User
 
Join Date: Apr 2007
Posts: 9
Default

Quote:
Originally Posted by podlium View Post
hi,

are you setting text after or before setting TextFormat to tf_meno?
solved

this was following and shouldn't
Code:
tf_meno.autoSize = true;
thanks!
janper is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:06 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.