I’m trying to find a tutorial that will show me how to have a text box roll in after a button is pressed. I haven’t been able to find one. I was hoping that someone could point me in the right direction. Thanks!
Are you including “textfield” in your keywords when searching? The movement you require is more commonly used on movieclips, so broaden your search and think in terms of making movieclips roll in after a button is pressed. Also chekc out kirupas tute on movement with AS: http://www.kirupa.com/developer/mx/ASmovement.htm
I haven’t been including “textfield”, but I will. Thanks. Where can I find that tutorial on making movieclips roll in after a button is pressed?
If you want to get a textbox to move on click of a button, then…
-
make a textbox and convert it into a movie
-
Do your tweening or animation or whatever u want to do with it, make sure theres a stop action on the first and last frame.
-
Drag the textbox onto stage, and give it an instance name of textbox.
-
Create a button and add the following actions
on (release) {
textbox.gotoAndPlay (2);
}
Heres an example, hope it helps.
Thank you!