Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows 7
Language Found: English
Description
Steps to reproduce:
1. Assign the source property of a spark image control to a swf file.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<!-- mx:Image works -->
<!--<mx:Image source="bluePentagon.swf" /> -->
<!-- s:Image fails -->
<s:Image source="bluePentagon.swf" />
</s:Application>
Actual Results:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@c8546d1 to flash.display.Bitmap
Expected Results:
SWF should display on screen like mx:Image
Workaround (if any):
Alex discusses a possible workaround in http://forums.adobe.com/thread/911913