[英]What is the preferred way to embed an SWF graphic in a Flex 4 application?
In Flex 3, you just said 在Flex 3中,您刚刚说
<mx:Image source="@Embed('foo.swf')"/>
What is the preferred way to do this with Flex 4? 使用Flex 4的首选方法是什么? Should I just keep using Image?
我应该继续使用Image吗?
Image tag is for loading "Image" formats along with swf. 图像标签用于与SWF一起加载“图像”格式。 You can go also go with SWFLoader.
您也可以使用SWFLoader。 Flex 4 is still Beta.
Flex 4仍为Beta。 I would go with Image or SWFLoader, preferbaly the second one.
我会使用Image或SWFLoader,最好是第二个。
and I am sure this wont get changed in Flex 4 too. 而且我敢肯定,Flex 4也不会对此进行更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.