简体   繁体   English

Flex中的Flash组件

[英]Flash Components in Flex

I'm getting the error "could not resolve <local:flashactionscript> to a component implementation".... 我收到错误消息“无法将<local:flashactionscript>解析为组件实现”。

This is my mxml code.... 这是我的mxml代码。

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

can anybody help me ? 有谁能够帮助我 ?

flashactionscript是动作脚本类的名称。

you can use the Image tag and set its source to a flash movie like so: 您可以使用Image标签并将其来源设置为Flash电影,如下所示:

<mx:Image source="assets/yourFlash.swf"/>

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

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

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