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 194901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:38:05+00:00 2026-05-11T16:38:05+00:00

Is there any workaround to the issue with Adobe Flash where a Flash Movie

  • 0

Is there any workaround to the issue with Adobe Flash where a Flash Movie does not receive a mouse up event if the mouse is dragged outside of the movie?

EDIT: This issue seems to affect Firefox only

See: http://bugs.adobe.com/jira/browse/FP-234

Basically the issue is, I have a Flash movie which contains a text box, and if the user clicks in the text box and drags to select (highlight) text, and they drag outside the flash movie and release the mouse, then the FLash move doesn’t receive the mouse release event and even though the mouse is up, moving the cursor around the page continues to change the selected text within the flash.

Many have suggested using ActinScript to listen for a MOUSE_LEAVE event but there’s two issues. One, I am using AS2 not AS3, and second, it seems like MOUSE_LEAVE doesn’t fire if the mouse is held down when it leaves the stage.

EDIT 2: George Profenza’s “dirty hack” had been mostly working for me for months… but as of 8/24/10, I now see that Adobe has marked this issue as resolved, finally!

  • 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-11T16:38:06+00:00Added an answer on May 11, 2026 at 4:38 pm

    I can imagine what the problem is, but I can’t seem to reproduce in a simple context.

    Here is a ‘dirty hack’…as2 style , based on the MOUSE_LEAVE thing.

    input.onKillFocus = function(newFocus:Object) {
        trace(this._name+" lost focus. New focus changed to: "+newFocus._name);
        delete input._parent.onEnterFrame;
    };
    input.onSetFocus = function(oldFocus:Object) {
        trace(this._name+" gained focus. Old focus changed from: "+oldFocus._name);
        input._parent.onEnterFrame = trackMouse;
    }
    
    function trackMouse():Void{
        if(input._xmouse < 0 || input._xmouse > (input._x + input._width)) onMouseOut();
        if(input._ymouse < 0 || input._ymouse > (input._y + input._height)) onMouseOut();
    }
    
    function onMouseOut():Void{
        Selection.setFocus(dummyBtn);
    }
    

    Assuming input is a selectable textfield.
    If the textfield is focused I add an enterFrame listener to check if the mouse is over or outside the textield ( using input._xmouse, opposed to _xmouse which is global ).
    If the mouse is outside the text area, I change the focus to a dummy object( a Button called dummyBtn ). This works if you’re in Firefox and you have a selection and release outside the swf, because as soon as you leave the textfield the focus shifts to the dummyBtn.

    I admit it is a bit rough, if you still need the selection or something, so let me know.

    Goodluck.

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

Sidebar

Related Questions

Is there any workaround to allow actionscript3 write to file system without adobe air?
Is there any workaround for the following 1 pixel to the left bug? <!DOCTYPE
Is there any Workaround/Tool for renaming the Resource Keys from the resource file .
Is there any real workaround to getting the Express edition of C# connected to
I would like to know if there exists any kind of library or workaround
Is there any functional difference in Python between a try statement and an if
Is there any way in Notepad++ (or even with another tool) to change the
Is there any way I can set a formatter on models that will convert
Are there any recommended libraries, patterns or examples on how to implement Prefetching and/or
Is there any difference (compiler/interpreter/juju wise, etc) between the two versions of checking the

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.