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

[localfix] When loading up BitmapImage with a previous width/height with a bad URL, the old width/height remain

    XMLWordPrintableJSON

    Details

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

      Description

      Steps to reproduce:
      1. Run sample file
      2. Wait for image to load
      3. Click button

      Actual Results:
      The image stays the same dimensions

      Expected Results:
      The image should stay the same size while a load is being attempted, but as soon as an error occurs, it should resize to 0x0

      Workaround (if any):

      -------------------

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">
      <s:layout>
      <s:VerticalLayout />
      </s:layout>
      <s:BitmapImage source="http://rictus.com/TestDrive/photos/jwhorfin.jpg" id="bi" />
      <s:Button click="bi.source='http://rictus.com/TestDrive/photos/null'" />
      </s:Application>

        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: