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

Scaling an mx:Image to higher zoom factors causes sections to disappear.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK 3.3 (Release)
    • None
    • mx: Image
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Internet Explorer 6.x
      Language Found: English

    Description

      Verified in SDKs from 3.1.0 and 3.3.0.4589. May also affect 4.0.0.7219

      Steps to reproduce:
      1. Add an mx:Image to a Flex application and load an external image - any size of source image will do.
      2. Set scaleX/scaleY to a large value (this varies depending on the source image dimensions)

      Expected Results: The zoomed in pixels of the image will be visible.
      Actual Results: Some sections of the image will disappear.

      Workaround (if any): Create a flash.display.MovieClip and render the Image onto it using graphics.beginBitmapFill, this MovieClip (and any Flex component that contains it) can then be scaled to any values without sections of the image disappearing.

      See the attached application (or see demo at http://ww.solutionuk.f2s.com/flex/ScaleTest.html ), and raise the Zoom factor to 900% or above. The canvas on the Left (using mx:Image) will dissappear, whilst the canvas on the Right (using bitmapFill) will continue to work correctly.

      I note that this is very similar in reported content to SDK-14595, which was turfed over to the Flash Player team, but as this workaround seems to work correctly, is this not fixable at the Flex SDK level?

      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: