简体   繁体   English

Flex 4.5中的BitmapImage火花

[英]BitmapImage spark in Flex 4.5

i want to migrate my application from Flex 3.6 to Flex 4.5 . 我想将我的应用程序从Flex 3.6迁移到Flex 4.5

Let say i have this code in Flex 3.6 : 假设我在Flex 3.6中有以下代码:

<mx:Image id="lImage"
          source="@Embed(source='assets/loading.swf')"
/>

Further, this <mx:Image/> becomes <s:BitmapIamge/> in flex 4.5 . 此外,此<mx:Image/> <s:BitmapIamge/>flex 4.5中成为<s:BitmapIamge/> So we have the following code : 因此,我们有以下代码:

<s:BitmapImage  id="lImage"
        source="@Embed(source='assets/loading.swf')"
/>

but i have an error about the transcoding of loading.swf . 但是我对loading.swf的转码有错误。 Any help please. 请帮忙。

解决的问题与SWC文件的生成路径有关

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM