Help!: How to create a button to a open textbox to type in
hi! totally new as3, appreciate help. thanks!
i need create button opens text box user can type in, specific font.
and user can choose font clicking onto button. user able move textbox whereever wants
and change size of text.
(just how works in mobile app: typic shown below).
may know how do that?
thanks lots in advance!
what asking no small task beginner, aware of that.
1.the button
make movieclip "btn" , add following code on first layer of flash file:
btn.addeventlistener(mouseevent.click, opentextfield);
function opentextfield(e:mouseevent):void{
//with textinpufiled "tf" on stage
tf.visible = true;
}
2.the font thing
read on textformats here:
More discussions in ActionScript 3
adobe
Comments
Post a Comment