Can anyone help me make sense of this?
Using Flex 4.5.1 (Spark only compile) I've found that the new Spark Image control works inconsistently when loading SWF at runtime and embedding SWF symbols. See these two situations:
1) OK - Spark image loads a whole SWF in runtime. Swf loads OK and scales up to desired size with perfect smooth anti-aliased edges
2) Not OK - Spark Image loads an embedded swf symbol as follows:
<s:Image source="@Embed(source='embedded/GeneralSymbols.swf' , symbol = 'komodoDragon')" x="250" y="35" height="200" />
( or using a bindable class )
And the image is pixelated and totally unusable.
It seems unfortunately that when embedding Swf Symbols ( which is a big element of the Adobe Flex - Flash - Illustrator workflow ) the "vector" images are reduced to bitmaps at their original size and don't scale.
I know spark swfLoader is a possible option - but surely it's too heavy for loading many images?
Did you find the answer to this?
I'm using Flex 4.6 SDK and having the same problem. It's kind of dumb, isn't it?
Especially since I'm migrating an application from Flex 3 to 4.6 and it worked perfectly in the previous version.
In the end I used a spark swfloader for embedded vector art.
The old mx image was based on swfloader so I figured this would do the job
and it did. Even on ios where the vector art scaled great.
Yes, I found out that after googling for it. Kind of strange behavior since it clearly states on the documentation that <s:Image /> works with swf.
Thanks a lot, bud.