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

[LocalFix] Spark Image should have option to clear existing source while loading new source

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK 4.5 (Release)
    • Fix Version/s: None
    • Component/s: Spark: Image
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Language Found: English

      Description

      Found in 4.5.0.16585.

      Steps to reproduce:
      1. Compile and run attached MXML file.
      2. Click the "1" button and wait for source to load.
      3. Click the "2" button and wait for the source to load.

      Actual Results:
      Image 1 is visible while image 2 loads.

      Expected Results:
      I love the new behavior, but I think that users may want a flag to revert back to the old behavior of clearing the existing source while the new image loads.

      Workaround (if any):
      Set the img.source to null, call img.validateNow(), then set the new source.
      See attached file (and click "1a" and "2a" buttons).

        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: