That's generally how I deal with text fields that have to be centered with localisable text.
Attach a dummy textfield, enter the text, see how big it is then apply the positioning information to the real field and remove the dummy one. Adding/removing a field and getting the values out within 3 lines is quick enough that you don't see it drawing. It's a bit awkward, but it works! On 11/3/07 14:56, "Latcho" <[EMAIL PROTECTED]> wrote: > anoyher fix might be overlaying the displaying field, you don't want to > have overflowed "your max lines" with > an input field that has _alpha 100, and has an embed font. Use the later > as input, ans if maxscroll < 2 after onKeyup, > feed it to the underlaying visible textfield. Otherwise ,restore its > content with the previous buffered text and don't feed it to the visible > field. > Dirty but worling I guess. > > Latcho. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com