A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Play in Browser (ENTER) closes.

  1. #1
    Senior Member
    Join Date
    Dec 2006
    Location
    Jax, FL
    Posts
    110

    Play in Browser (ENTER) closes.

    How do I prevent the Play in Webrowser from closing. When I hit the enter key once I started to play my movie?

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Why are you pressing the Enter key and when are you doing that?

  3. #3
    Senior Member
    Join Date
    Dec 2006
    Location
    Jax, FL
    Posts
    110

    When and Why (ENTER)

    On the KM designer window. The menu option at the top provides Play. Select that option, then select Play in Web browser. The movie begins to play in a browser which has two options at the bottom (Replay) and (Close). I have a dynamic text box that I want to capture key strokes. When I hit the 'ENTER' key while my cursor is in text box the browser closes. It is just like I am clicking the close button at the bottom of the browser window.

    Is there a way to stop the browser from closing.

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Probably not with this version. The default button for the dialog is probably Close and pressing Enter activates the default button. I suspect you have a focus problem. Your animation should be capturing the key strokes, not the KoolMoves dialog box.

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Try clicking inside the flash window. This is always an issue with flash in a browser with ANY keystrokes.

  6. #6
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Just tried it, not gonna work in the built in prewview. You'll have to test in external browser

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