Flex 4.5 中的位图图像火花

发布于 2024-12-21 05:00:37 字数 545 浏览 5 评论 0原文

我想将我的应用程序从 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 转码的错误。请提供任何帮助。

i want to migrate my application from Flex 3.6 to Flex 4.5.

Let say i have this code in Flex 3.6 :

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

Further, this <mx:Image/> becomes <s:BitmapIamge/> in flex 4.5. 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. Any help please.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

苦笑流年记忆 2024-12-28 05:00:37

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

problem resolved it's about the generation path of a SWC file

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文