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

Event.clone() does not copy properties target and currentTarget

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Adobe Flex SDK 4.6 (Release)
    • None
    • Events
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. recieve Event e with e.target != null, e.currentTarget != null
      2. var myevent:Event = e.clone();

      Actual Results:
      myevent.target == null
      myevent.currentTarget == null

      Expected Results:
      myevent.target == event.target;
      myevent.currentTarget == event.currentTarget;

      Workaround (if any):
      X-(

      tested
      SDK 3.6: Problem present
      SDK 4.5.1: Problem present
      SDK 4.6: Problem present

      Desided by design?
      (not mentioned in reference http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/Event.html#clone%28%29 )

      Attachments

        Activity

          People

            aharui Alex Harui
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: