Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : Input textField align right problem


Nixy
3/8/2004 7:37:59 PM
Hi
I need to use an input textfield that is align right. The problem is that when
the user type his email if the email is longer than the textfield width, the
text doens't move to the left. So the user can't see the last letters he
entered in the textfield. Is there a way to control that. If the user email is
longer than the textfield, the text move to the left when the user type a
letter.

any idea.
Jack.
3/8/2004 11:48:35 PM
you could widen the textfield, embed the font outlines,
and apply a mask to the portion you require,

Nixy
3/9/2004 1:21:11 AM
Yes but if I do that the problem stay. If it's align left all works great. When
you type you can always see the last letter you wrote. But when it's align
right, when your text is larger than the textfield, you can continue to type
but you can't see what you type.

If I decide to use myText.autoSize = "Right"; , I can create a scrip that move
all the textfield as needed, but I wanted to know if there was a workaround
before trying that..

Tanx for your help
AddThis Social Bookmark Button