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

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

问题描述

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



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

解决方案

它是一个很好的问题,其中有一个很容易被困惑。



- Flash



所有歌曲,所有跳舞的图形和矢量的东西,你会意识到 - 这主要被视为视觉的东西。当你打开Adobe Flash,它的一个界面来构建动画的东西变成二进制魔法



- Actionscript 3



这开始生活像一个小变量,如帮助闪光图形的东西。它已经演化(如你所知)基于ECMA标准的完整语言。这就是为什么它类似于Java和JS这样的语言



- Flex



可能会从这里变得混乱。



Flex有许多形式。


  1. 它的XML样式语言允许您通过标记语言构建Flash的东西,而不是自己绘制

  2. 这开始成为基于MXML(Macromedia XML)语法的稳定的组件集。

  3. Flex包装了整个AS3语言这种MXML语法因此成为一个框架

它成为将Flex作为前端标记的标准,绑定到AS3逻辑。



对于许多人来说,甚至是业内人士都感到惊讶。 Flex MXML在 compile 运行时编译为原始的AS3代码,而在部署SWF时使用的是MX MXML。 - * edit:



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






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



主要是AS3和Flash携手并进。 AS3和Flex再次是一场婚姻。
您可以在Flash中创建Flex组件






提醒您。这不应该与Flex IDE混淆 - 其中不是框架。 Adobe的最新版本的软件已经被标记为Flash Builder来阻止混乱。


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?

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.

- 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

- Actionscript 3

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

- Flex

May become confusing from here.

Flex has many forms.

  1. Its an XML style language of which allows you to build up the 'flash' stuff via a markup language, instead of drawing it all yourself.
  2. This begins to become a stable component set based on the MXML (Macromedia XML) syntax.
  3. Flex wraps pretty much the entire AS3 language with this MXML syntax and thus becomes a framework

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

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,


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

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


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天全站免登陆