Flex、Flash 和 ActionScript 3.0 之间的关系是什么 [英] What is the relationship between Flex, Flash and ActionScript 3.0

查看:25
本文介绍了Flex、Flash 和 ActionScript 3.0 之间的关系是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个使用 ActionScript 3.0 和 Flex SDK 的项目.该项目是使用 Eclipse IDE 构建的.我想知道 Flex SDK 是否用于在 Eclipse 中支持 ActionScript 3.0?

I'm working on a project that uses ActionScript 3.0 with Flex SDKs. The project is built using the Eclipse IDE. I wonder if the Flex SDKs are used to support ActionScript 3.0 in Eclipse?

ActionScript 3.0 和 Flash 之间是什么关系?

What is the relationship between ActionScript 3.0 and Flash?

推荐答案

这是一个很好的问题,也是很多人容易混淆的一个问题.

Its a good question, and one of which many people tend to be confused with.

您会注意到的所有唱歌、所有跳舞图形和矢量内容 - 这主要被视为视觉内容.当你打开 Adob​​e Flash 时,它的一个界面构建动画的东西变成了二进制魔术

The all singing, all dancing graphics and vector stuff you'll be aware of - This is primarily deemed as the visual stuff. When you open Adobe Flash, its an interface to build animated stuff turned into binary magic

这最初是一个小变量,例如对 Flash 图形内容的帮助.它已经发展(如您所知)成为基于 ECMA 标准的成熟语言.这就是为什么它与 Java 和 JS 等语言非常相似

This began life as a small variable like assistance for flash graphicy stuff. It has evolved (as you're aware) into the full blown language based upon the ECMA standard. This is why its very similar to languages like Java and JS

从这里开始可能会变得混乱.

May become confusing from here.

Flex 有多种形式.

Flex has many forms.

  1. 它是一种 XML 风格的语言,允许您通过标记语言构建flash"内容,而不是自己绘制.
  2. 这开始成为基于 MXML(宏媒体 XML)语法的稳定组件集.
  3. Flex 几乎用这种 MXML 语法包装了整个 AS3 语言,从而成为一个框架

将 Flex 作为前端标记并绑定到 AS3 逻辑已成为常态.

Its become the norm to have Flex as your frontend markup, tied into AS3 logic.

这让很多人感到惊讶,甚至是业内人士.Flex MXML 在 compile 运行时编译成原始 AS3 代码,并在部署 SWF 时使用. - *edit:

Whats surprising to many people, even those in the trade. Flex MXML is compiled down at compile runtime time to raw AS3 code and thats used when the SWF is deployed. - *edit:

这就是为什么它就像一种解释性语言,

This is why its just like an interpreted language,

在构建 Flash 应用程序时,您可以组合使用这些元素.

when building an Flash app you may use a combination of these elements.

主要是 AS3 和 Flash 齐头并进.AS3和Flex再次联姻.您可以在 flash 中创建 Flex 组件

Primarily AS3 and Flash live hand in hand. AS3 and Flex is again a marriage. You can create Flex components in flash

被告知.这不应与 Flex IDE 混淆 - 不是框架.Adobe 最新版本的软件被称为Flash Builder",以防止混淆.

To be made aware. This should not be confused with the Flex IDE - which is not the framework. Adobe's newest rendition of the software has been branded 'Flash Builder' to thwart confusion.

这篇关于Flex、Flash 和 ActionScript 3.0 之间的关系是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆