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

[spark_skins] Custom Halo MenuBar Spark skin dispatches two creationComplete events

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • Adobe Flex SDK Previous
    • None
    • mx: Menu Bar
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in build 4.0.0.9336

      Steps to reproduce:
      1. Compile and run attached .MXML file.

      Actual Results:
      The skin dispatches a creationComplete event twice. Trying to access certain styles/properties in the creationComplete event handler the first time it is dispatched can cause null reference errors and RTEs.

      Expected Results:
      The creationComplete event should only dispatch once. Ideally when the creation is complete.

      Workaround (if any):
      IN the creationComplete event handler, do a null check to see if the skin is complete/ready.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: