Input by User
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Input by User

  1. #1
    Senior Member
    Join Date
    Apr 2003
    Location
    Magnolia, DE
    Posts
    124

    Input by User

    Hey, I said this in my other poast, but if you didn't get it here is my question. I need me flash movie to goto the next frame when the spacebar is pushed. I would greatly appretait it if you could help. Thanks a lot...

    P.S. If you have a .fla that has the code on it, please poast that, thanks

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food
    Posts
    3,789
    code:
    stop();
    getSpaceBar = new Object();
    getSpaceBar.onKeyDown = function() {
    if (Key.isDown(32)) {
    nextFrame();
    }
    };
    Key.addListener(getSpaceBar);

    Attached Files Attached Files

  3. #3
    Senior Member
    Join Date
    Apr 2003
    Location
    Magnolia, DE
    Posts
    124
    Thanks a WHOLE lot for that. It worked for me, thanks agan!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com