Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
The code that constructs BitmapData doesn't account for the case in which the construction fails. All places in which BitmapData is created should have a try catch block to ensure that code can continue to execute. There are various reasons that the construction of BitmapData may fail, including an invalid size, no appropriate device context, etc. This is a general issue that should be addressed in all component code (desktop applications are more prone to this than browser applications).