I want to make it in actionscript I mean! dynamicly!
and I want to do all fontsize stuff in Action Script.
do you know how?
give your panel an ID in the MXML file, eg <mx:Panel id="my_panel" />
Then in an actionscript handler do
var my_text_input: TextInput;
my_text_input = new TextInput();
my_text_input.x = 50;
my_text_input.y = 25;
The last line is crucial otherwise you will never see the created item!
Thanks A lot! it is exactly what I mean!
just can you tell me how I can change fontsize and color as well?
Just remember you have to spell colour the American way and all should be OK,