Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7493963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:15:48+00:00 2026-05-29T17:15:48+00:00

I am creating a Flash game. Unfortunately, when the Player presses Enter, the game

  • 0

I am creating a Flash game. Unfortunately, when the Player presses “Enter,” the game continuously cycles through its scenes. I tried the following (although I know it’s a bit buckshee):

            // The Enter Key was pressed
            // If the Enter key is pressed, the keyboard input is "changed" to
                // be '.'.  This prevents a problem in which the Player would
                // press 'Enter' and the game screen would continuously cycle
                // through scenes
        if (event.keyCode == Keyboard.ENTER) {
            // The 'PERIOD' key does nothing
            event.keyCode = Keyboard.PERIOD;
            //spaceKeyPressed = true;
        }           

Is there a way to prevent ‘Enter’ from cycling through the scenes?

Thanks,

Christian

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T17:15:49+00:00Added an answer on May 29, 2026 at 5:15 pm

    While testing your game with Test Movie inside Flash Professional, select “Disable Keyboard Shortcuts” from the Control menu, Otherwise, as you can see in the Control menu, the first item is “Play” which has the Enter key as the keyboard shortcut.

    Note that the items in the Control menu change depending on if you are currently testing a movie or not. You will only see the menu from the screenshot below while you are testing your game.

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im creating flash game that have the functionality to capture/record its gameplay that can
I'm creating a flex-based video player, using the FLVPlayback component (imported from Flash Pro
I'm creating a flash rhythm game. I have a looping (at a certain frame
I am creating a little flash game for the facebook platform, but I am
In short I'm creating a Flash based multiplayer game and I'm now starting to
I'm creating a space game in actionscript/flex 3 (flash). The world is infinitely big,
I'm working on a puzzle game in Flash. It's a two-player, head-to-head game with
I'm creating a 2d flash game (coded in flex/actionscript 3) where assets are downloaded
I'm creating a game in Flash CS4 and using Actionscript 3.0. I'm adding all
I am creating a side scrolling game in Flash (as3) and trying to keep

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.