HELP!!: NEED HELP USING SPACE BAR AND MOVIE CLIP FUNCTION!

  • kanaduh
  • Student
  • Student
  • User avatar
  • Joined: Jun 25, 2005
  • Posts: 86
  • Status: Offline

Post June 28th, 2005, 12:19 pm

Hello.
I am making a game, and in it, when you press space bar, a beam will shoot.
How would i do that?!
Code would be appreciated!.
Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 28th, 2005, 12:19 pm

  • [SteF]
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jan 14, 2005
  • Posts: 58
  • Loc: Belgium
  • Status: Offline

Post July 1st, 2005, 3:06 am

_root.onEnterFrame = function() {
if (Key.isDown(Key.SPACE)) {

}
}

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 32 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.