I am a newbie when it comes to flash, currently using MX 2004.
Is it possible to create an input text box that automatically (vertically) resizes itself, when it detects that it is not large enough to hold the entered text.
There are plenty of examples of scrolling, but this is not what I want it to do. Basically it should just grow the input text box to accomodate the enetered text, and preferrable push down any other components below it.
I guess something that looks like: (Probably doesnt look anythin like what the workin code though?)
"
on (keyPress "<Space>"
{
if (mytext_txt.scroll > 0) {
//something to detect if the box has scrolled.
mytext_txt._height += 10;
//humm.. anyone know who the hight could be increased without scalling the text?
}
}"
I'd appreciate any help/pointers.
Jubal
Is it possible to create an input text box that automatically (vertically) resizes itself, when it detects that it is not large enough to hold the entered text.
There are plenty of examples of scrolling, but this is not what I want it to do. Basically it should just grow the input text box to accomodate the enetered text, and preferrable push down any other components below it.
I guess something that looks like: (Probably doesnt look anythin like what the workin code though?)
"
on (keyPress "<Space>"
if (mytext_txt.scroll > 0) {
//something to detect if the box has scrolled.
mytext_txt._height += 10;
//humm.. anyone know who the hight could be increased without scalling the text?
}
}"
I'd appreciate any help/pointers.
Jubal