View Full Version : RESIZING text in textfields.....
kindalikesorta
05-26-2004, 03:40 PM
hey everyone...
i'm working on a guestbook in flash mx 2004, using sql and php.
i have a few questions on this but my first is:
How do you resize the input text for users in the textfields?
you can see the work-in-progress here:
efrain's gbook @ kindalikesorta (http://kindalikesorta.com/gbook/)
as you can see, when you enter text into the fields, the text is not easily visible because it's too big. is there a way to fix that? this happened because i resized the textfields in flash.
Is there an easy way to customize the size of text in the boxes, within flash?
thanx and i look forward to your replies ;)
CyanBlue
05-26-2004, 03:48 PM
Howdy and Welcome... :)
If you are talking about the input textFields for Name, Email and stuff, you need to change the text size in the textField...
Click on the textField within the Flash and check out the property panel... You should be able to find the font size right next to the font name in the property panel... :)
PS> I don't see any reason why you have post your question to this forum... I am going to move it to the FMX 2004/General forum later on...
kindalikesorta
05-26-2004, 03:57 PM
hey thanx for the quick response!
i understand your answer, but that was my problem.
i can't seem to make the textfields change because
they are uneditable.
they are textfields dragged in from the components
library.
so when i click on them, they are not editable.
then again, now that you made me think about it,
couldn't i just replace the textfield components with
dynamic text boxes? hmm....
lemme know whatcha think
CyanBlue
05-26-2004, 04:01 PM
Um... Don't really know why you are not able to edit the textField... Maybe it is locked??? Rather than that, I can't think of any reason why it is acting that way... There's gotta be something that you are missing but I can't see it over your post...
Maybe you might want to post a simple sample for that so that people can take a look???
kindalikesorta
05-26-2004, 04:21 PM
wooohoooo!!! i found out why!! all i had to do was look up 'cusomizing input fields'.
this is what it said to use:
componentname.setStyle("property", "value");
but yeah, i was totally confused as to why it wouldn't let me edit the text too. but i realized because they were INPUT TEXT components. they were already customized by flash.
and even though i figured out how to fix it, i think i wanna use something simpler, like plain ol' text boxes that are easily editable without actionscript.
thanx so much! you made me think about it, so that's even better than giving me the straight answer....
next question coming soon!
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.