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

查看:28
本文介绍了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 风格的语言,它允许您通过标记语言构建闪存"内容,而不是自己绘制.
  2. 这开始成为基于 MXML(Macromedia 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天全站免登陆