Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Someone
Thursday, March 12th, 2009 at 2:58:01am UTC 

This post has 1 comment thread shown at the end of this page.

  1. var keyListener:Object = new Object();
  2. keyListener.onKeyDown = function() {
  3.     switch (Key.getCode()) {
  4.         case Key.ENTER :
  5.             processUserInput();
  6.             break;
  7.     }
  8. };
  9. Key.addListener(keyListener);

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus

comments on this paste

Someone (#1358728)

Posted By: Cat a.k.a. escape velocity on JIG ([email protected])

Posted: March 12th, 2009 at 8:23pm UTC

Thank you so much for this piece of code. It actually worked. I am in awe.

worth-right
worth-right
worth-right