Apache flex Flex 4.5中的BitmapImage spark

Apache flex Flex 4.5中的BitmapImage spark,apache-flex,flex3,flex4.5,bitmapimage,Apache Flex,Flex3,Flex4.5,Bitmapimage,我想将我的应用程序从Flex 3.6迁移到Flex 4.5 假设我在Flex 3.6中有这段代码: <mx:Image id="lImage" source="@Embed(source='assets/loading.swf')" /> 此外,此在flex 4.5中成为。因此,我们有以下代码: <s:BitmapImage id="lImage" source="@Embed(source='assets/loading.swf')

我想将我的应用程序从Flex 3.6迁移到Flex 4.5

假设我在Flex 3.6中有这段代码:

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

此外,此
flex 4.5中成为
。因此,我们有以下代码:

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


但是我在loading.swf的代码转换方面有一个错误。请提供任何帮助。

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