flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morten Gorm Madsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34836) Infinite loop occurs when a BitmapImage uses image smoothing and its width and height is 0
Date Wed, 13 May 2015 13:34:59 GMT
Morten Gorm Madsen created FLEX-34836:
-----------------------------------------

             Summary: Infinite loop occurs when a BitmapImage uses image smoothing and its
width and height is 0
                 Key: FLEX-34836
                 URL: https://issues.apache.org/jira/browse/FLEX-34836
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark Components
    Affects Versions: Apache Flex 4.14.1
            Reporter: Morten Gorm Madsen
            Priority: Minor


See FLEX-27180. It is still relevant. If the BitmapImage is placed in a component that by
chance scales to 0 width/height, the infinite loop will be entered. Caused quite a bit confusion...

Look for the resample method (BitmapImage.as: 1636, Flex SDK 4.14.1, build 20150325)

protected static function resample(...)
..
..
..
        while (initialScale/drop < 1)
            initialScale /= drop;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message