Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-23052

MouseEvent localX and localY not working correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Events
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Firefox 3.x
      Language Found: English

    Description

      SDK 4.0.0.13875

      Steps to reproduce:
      1. Launch the attached swf or compile the attached project.
      2. Click & drag the mouse around in the yellow rectangle.
      3. Do the same with the selected checkbox.

      Actual Results:
      As you can see, when using event.localX and event.localY (checkbox selected), there is lot of errors, the red rectangle has unpredictable behavior. When using event.stageX and event.stageY, everything works perfectly.
      Unfortunately, we can't always use stage relative coordinates.

      Expected Results:
      Red rectangle should have same behavior independently of the checbox state, selected or not.

      Workaround (if any):

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: