A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Changing frame with arrow keys

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    7

    Changing frame with arrow keys

    Is there a way to make it so that when you press the right key your animation/game goes forward a frame and when you press the left key it goes back a frame? I have a pretty minimal knowledge of actionscript so I'm not exactly sure how it would be done.

    Thanks in advance for any help.

  2. #2
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Hey there,

    Check this attached sample and let me know if this is what you want!
    Attached Files Attached Files
    As ever,
    Vinayak Kadam

  3. #3
    Junior Member
    Join Date
    Aug 2009
    Posts
    7
    That's perfect! Thank you for the help!

Tags for this Thread

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