jeudi 25 février 2016

Change MovieClip size with input textbox (Flash AS3)

I have a project where MovieClips can be dragged and dropped.

I would like to know how to make an input textbox appear after clicking on the MovieClip, where the user is able to put in a number in the input textbox that increases the size of the MovieClip according to the number entered.

After the number is entered I would like the textbox to dissappear, and only reappear when MovieClip is clicked again.

Example illustration below:

Example

Aucun commentaire:

Enregistrer un commentaire