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

Re-work disabled logic in Spark components

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      A couple of work items that came out of some hallway discussions regarding disabling Spark components:

      1. Move the using of MouseShieldUtils.updateMouseShield from FxContainerBase up to FxComponent
      2. Investigate getting rid of using a mouse shield at all
      -In Halo we used a mouseShield to block mouse events AND to dim the component since we couldn't fade text
      -In Spark, we can fade text, so the skin takes care of the dimming. To block mouse events I don't think we actually have to create a mouseShield sprite, instead we can set mouseEnabled & mouseChildren to false and be set.
      3. If we do #2, look into getting rid of the updateMouseShield() call in updateDisplayList in FxComponent and instead override the enabled setter to toggle mouseEnabled/mouseChildren appropriately.

      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: