【问题标题】:Flash Components in FlexFlex 中的 Flash 组件
【发布时间】:2011-03-06 16:10:40
【问题描述】:

我收到错误“无法将 <local:flashactionscript> 解析为组件实现”....

这是我的 mxml 代码....

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
      layout="absolute" xmlns:local="com.*">
<local:flashactionscript x="400" y="400"/>

谁能帮帮我?

【问题讨论】:

  • flashactionscript 是 actionscript 类的名称。
  • @shudha 是放在com 包下吗?
  • 是的,它在 com 包下。我试图在 flex 应用程序中使用 flash 组件。谁能提供我可以学习如何在 flex 中使用 flash comp 的 url
  • 那么你的类的完全限定名称是 com.flashactionscript?

标签: apache-flex


【解决方案1】:

flashactionscript 是动作脚本类的名称。

【讨论】:

    【解决方案2】:

    您可以使用 Image 标签并将其来源设置为 Flash 电影,如下所示:

    &lt;mx:Image source="assets/yourFlash.swf"/&gt;

    链接:http://livedocs.adobe.com/flex/3/langref/mx/controls/Image.html

    【讨论】:

      猜你喜欢
      • 2010-09-12
      • 2014-11-11
      • 1970-01-01
      • 2011-01-12
      • 1970-01-01
      • 2011-03-12
      • 2011-04-12
      • 2010-11-11
      • 1970-01-01
      相关资源
      最近更新 更多