In Flex 3, you just said
<mx:Image source="@Embed('foo.swf')"/>
What is the preferred way to do this with Flex 4? Should I just keep using Image?
Image tag is for loading "Image" formats along with swf. You can go also go with SWFLoader. Flex 4 is still Beta. I would go with Image or SWFLoader, preferbaly the second one.
and I am sure this wont get changed in Flex 4 too.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.