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).

 

1.jpg4.jpg2.jpg3.jpg

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:

http://www.republicofcode.com/tutorials/flash/as3text/



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP