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

Changeing focus causes error in UIMovieClip

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK 3.4 (Release)
    • Fix Version/s: Adobe Flex SDK Previous
    • Component/s: Flash Integration
    • Labels:
      None
    • Environment:
      Affected OS(s): Windows
      Affected OS(s):
      Browser: Firefox 3.x
      Language Found: English

      Description

      In a UI we've created, we use many components drawn in flash and exported using flash component kit. Almost any time there is a user interaction this components, or if the application looses focus, it throws Error 1009. This problem is so prolific, that we can't find the cause. Here are a couple stack traces from the error:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.flash::UIMovieClip/removeFocusEventListeners()[E:\dev\trunk\frameworks\proje cts\flash-integration\src\mx\flash\UIMovieClip.as:2466]
      at mx.flash::UIMovieClip/focusOutHandler()[E:\dev\trunk\frameworks\projects\flash- integration\src\mx\flash\UIMovieClip.as:2509]
      at flash.display::Stage/set focus()
      at fl.core::UIComponent/setFocus()
      at fl.managers::FocusManager/setFocus()
      at fl.managers::FocusManager/mouseDownHandler()

      The above happened when I clicked on a flex component exported from flash that is a movie clip containing only a text field.

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.flash::UIMovieClip/removeFocusEventListeners()[E:\dev\trunk\frameworks\proje cts\flash-integration\src\mx\flash\UIMovieClip.as:2466]
      at mx.flash::UIMovieClip/focusOutHandler()[E:\dev\trunk\frameworks\projects\flash- integration\src\mx\flash\UIMovieClip.as:2509]
      at flash.display::Stage/set focus()
      at fl.core::UIComponent/setFocus()
      at fl.managers::FocusManager/setFocus()
      at fl.managers::FocusManager/mouseDownHandler()

      The above happened when I clicked on a flash exported flex component inside a flash scroll pane within another flash exported flex component.

        Attachments

          Activity

            People

            • Assignee:
              adobejira Adobe JIRA
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: