MXML 和 Actionscript3 有什么区别

发布于 2024-09-17 21:31:19 字数 49 浏览 6 评论 0原文

MXML 和 Actionscript3 有什么区别 什么时候我们需要使用MXML?

what's the difference between MXML and Actionscript3
when we need to use MXML ??

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

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

发布评论

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

评论(2

臻嫒无言 2024-09-24 21:31:19

MXML 是一种设计和布局 Flex 应用程序的方法,而 Action Script 3 是使用所有逻辑的地方。

MXML 相当于 HTML,ActionScript 相当于 Javascript。

MXML is a way to design and layout a flex application and Action Script 3 is where all the logic is used.

This of MXML as HTML and ActionScript as Javascript.

心意如水 2024-09-24 21:31:19

构建 Flex 应用程序时,您可以使用 MXML 创建和设计视觉元素。它是一种 XML/HTML 风格的语言,它使您能够以如下方式使用组件:

<progressbar id='progress_bar' />

当您的 Flex 应用程序自行编译时,这些内容将转换为 Actionscript 3。

您不需要专门使用 MXML。它将加快您的速度并使开发界面变得超级容易,但您仍然可以使用动作脚本操纵舞台上的元素。

When building a flex application, you create and design the visual elements using MXML. Its an XML/HTML style language Of which gives you the ability use a component in a way such as:

<progressbar id='progress_bar' />

when your flex application compiles itself, this stuff is converted to Actionscript 3.

You don't need to use MXML specifically. It will speed you up and make it super easy to develop you interfaces, but you can still manipulate elements on the stage using actionscript.

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