ActionScript 3.0 Tutorial: Press Enter to Submit Forms or Trigger Events
May.18, 2011 in
ActionScript
Free Download – www.developphp.com Learn how to trigger already established events in your project using the keyboard class in Flash and actionscript 3.0
Video Rating: 4 / 5
Related posts:
- XML Magic Menu Tutorial for ActionScript 3 Flash CS3 + CS4
- Simple Circular Flash Preloader Animation Tutorial for ActionScript 3.0 Website
- Flash Tutorial – Custom Toggle Button CS3 + CS4 ActionScript 3.0
- Simple Actionscript 3.0 Calculator: Flash Tutorial!
- AS3 Random Number Generator Code – ActionScript 3.0 Tutorial

May 18th, 2011 at 1:28 am
Adam,
Thank you for this basic tutorial, Since I am just starting to learn AS 3 these are a lot easier for me to understand. Please keep doing these great tutorials, I have learned so much from you.
Eric
May 18th, 2011 at 2:23 am
good one’
May 18th, 2011 at 2:32 am
@RustyDoorknobs can u explain it, i keep getting errors -_-
May 18th, 2011 at 3:09 am
this is the shortest tut flashbuilding made
May 18th, 2011 at 4:06 am
This has a problem: what if you have multiple text boxes?
Solution:
Use the text input component:
searchBox.addEventListener(ComponentEvent.ENTER, clickGoButton);
function clickGoButton(e:ComponentEvent){
myBtn.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
}
May 18th, 2011 at 4:21 am
@PersonalComputerHelp
Yeah…well I thing this year it’ll come out…
May 18th, 2011 at 5:15 am
Best tutorials out there!
May 18th, 2011 at 5:47 am
Aha! I didn’t think of chats and logins yet!
Indeed, that would work VERRY well on those type of things, excuse me for my small brains
May 18th, 2011 at 6:36 am
good point. This would be more for chat boxes, logins, etc… I use it on my site chatbox and login areas, people appreciate the functionality…
May 18th, 2011 at 7:03 am
Sorry, but if they press ENTER i suppose they want to go to a new line in the big contact form don’t you think??
Great tutorial Adam, we really like ‘em!
May 18th, 2011 at 7:07 am
Awesome tutorial dude. I really dig everything that you teach. You should write a web dev. book seriously, you frickin’ know everything.
May 18th, 2011 at 8:01 am
@ra2yuri4 Flash cs5 is going to replace cs4. It is still in private beta so don’t worry. It’ll take a long time before it will finally be released.
May 18th, 2011 at 8:50 am
Flash CS5???
May 18th, 2011 at 9:40 am
Wicked tut adam and very helpful and knowledgeable as always were would i be with out your help keep up the great work man 5 *to you and all your tuts
May 18th, 2011 at 10:00 am
SERIOUSLY!!!! you have to be my personal programmer i swear you are like really highly experience web programmer and designer plus a flash guru!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! D:
May 18th, 2011 at 10:33 am
good video
May 18th, 2011 at 11:13 am
Yet again, another tutorial that hits the spot.
Seriously everyone, your learning from the best and the best there ever be!!!
May 18th, 2011 at 12:00 pm
I am not the first one here, buyah! yet, its nice to be here learning from the best.
May 18th, 2011 at 12:24 pm
cool!
May 18th, 2011 at 1:17 pm
FIRST COMME-nah this is a good video. nice again Adam