Is it possible to change the font dynamicly, and if yes, how?
Is it possible to change the font dynamicly, and if yes, how?
do you know how to restrict an input text box that WASN'T created by AS?
i have a new question. HOW DO YOU USE THESE VARIABLE SETTINGS???:
background
Indicates if the text field has a background fill.
backgroundColor
Indicates the color of the background fill.
border
Indicates if the text field has a border.
borderColor
Indicates the color of the border.
maxChars
The maximum number of characters that a text field can contain.
password
Indicates if a text field hides the input characters.
restrict
The set of characters that a user can enter into a text field.
textColor
The color of the current text in the text field.
type
Indicates whether a text field is an input text field or dynamic text field.
ok, what am i doing wrong? ive drawn an input text box (because the type thing didnt work) it has an instance of ga and a variable name of g and i have this script on the frame, i want to restrict it so that you will only be able to type numbers, not even spaces, this is the script i have: ga.text.restrict="0", "1", "2", "3", "4", "5", "6", "7", "8", "9";
what am i doing wrong?
You can do:
ga.text.restrict="0123456789";
But since they are in order, this works too:
ga.text.restrict="0-9";
If the textbox is called ga it's just:
ga.restrict="0-9";
it may not work because it is a drawn text box not a scripted one, its not scripted because i needed an instance name
When i try to set the type to input it doesn't work why not?
onEnterFrame = function(){
createTextField("something", 1, 200, 300, 300, 20);
with(something){
type = "Input";
}
}
lol gerbil don't spam.
yo how do i change the text's size??