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

mx:Image component cannot recieve native drag & drop in AIR. (event does not fire)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Other (specify version)
      Language Found: Korean

    Description

      Steps to reproduce: (vista x64)
      1. create a new flex(air) project
      2. change mxml source like this:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:Image x="0" y="0" width="385" height="365" nativeDragEnter="trace('D');"/>
      <mx:VideoDisplay x="393" y="0" width="377" height="365" nativeDragEnter="trace('D');"/>
      </mx:WindowedApplication>

      3. run it.
      4. drag a file from windows explorer into air app. mx:VideoDisplay fires event normally, but mx:Image does not.

      Actual Results:
      no trace message was generated. because mx:Image don't fire the drag event.

      Expected Results:
      xm:Image must fire the event, so trace message also be generated.

      Workaround (if any):
      I tried to handle the nativeDragEnter event on mx:WindowedApplication and traced Event.target property. And I found most components were traced normally as event target, but mx:Image did not traced. So I thought the component has a bug.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: