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 l
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 it
Not the nicest way, and not working with pasted text, a line WILL
disappear, but restured onkeyup...
never say NEVER ;)
var txtfield_mc = myTxtField_mc;
var bufferText:String;
var KP = {};
bufferText = txtfield_mc.text;
Key.addListener(KP);
KP.onKeyDown = function() {
txtfield_mc.scroll = 0;
Hi
I have input text fields in some 'speech bubbles' for an application I am
building
I can set the maximum number of characters, but what I really need is to be
able to set the maximum number of lines so that hitting return NEVER causes
text to disappear.
So far , not the best solution has be
4 matches
Mail list logo