PDA

View Full Version : input box...



blah-de-blah
June 24th, 2003, 02:07 AM
Well i have basically 2 input boxes, one is small and one is very big which has a scrollbar next to it. But for some reason, when you type text into the big input box, the text typed is size 20 around there; even though i have set the text size to be only 10.
Its also on multiline so everything should be fine but i don't know why its not working?! Is there something i have to change?

And another quesiton, is will the scrollbar automatically be scrollable if too much text is entered? or do i have to put in some actionscript to make it do that...thx:)

radicaljugnu
June 24th, 2003, 04:31 AM
Uh, Blah de blah,

Could u explain the problem a little better. I'm not very sure what you mean. Could u send me the fla also?

Kartik

blah-de-blah
June 24th, 2003, 04:57 AM
yea i thought my question wasn't put very well...

ok so i will try to say it again...
I have a BIG input box, which allows ppl to type text in. This input box has the textsize set to 10. But when i type text in it, it looks like its size 30 or something. That is basically my first question.

Oh yea i forgot to say it has multiline set for the inputbox already, so i'm still not sure why the text looks like size 30.

And for question two...

I have a scrollbar for the same input box, and if too much text is entered into the input box, the scrollbar should work. And so, do i need some actionscript for the scrollbar to work, or just leave it as it is?!

Question 2 isnt' as important at the moment...thx :) i hope that was more understandable

RvGaTe
June 24th, 2003, 05:14 AM
how did you resized your input box ? using the transform tool?

blah-de-blah
June 24th, 2003, 05:38 AM
yea...was i not suppose to?!

RvGaTe
June 24th, 2003, 05:40 AM
nope, with transform you just change the size INCLUDING the content of it...

so dont use the transform button

you should do it like this:
select the text tool, set it to INPUT, and drag a square witht he tool.... there ya have it, a bigger box ;)

blah-de-blah
June 24th, 2003, 05:43 AM
ah yes it works :) thx :)