Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the relationship between Flex, Flash and 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?

What is the relationship between ActionScript 3.0 and Flash?

like image 798
Anonymous Avatar asked Feb 23 '11 18:02

Anonymous


People also ask

What is ActionScript in Macromedia Flash?

ActionScript is an object-oriented programming (OOP) language that is designed specifically for Web site animation. Originally released with Macromedia Flash 4 and enhanced for Flash 5, ActionScript is a sophisticated version of the script language introduced in Flash 3.

What is the difference using ActionScript 2.0 and ActionScript 3.0 for controlling video?

Practical differences between ActionScript 2.0 and ActionScript 3.0. Hence, ActionScript 3 is carrying nearly more than 5 times classes and 4 times packages than ActionScript 2. ActionScript 2.0 was launched with 66 classes and 10 packages, while ActionScript 3 has more than 500 classes with 42 packages.

What replaced ActionScript?

Java, TypeScript, JavaScript, HTML5, and Python are the most popular alternatives and competitors to ActionScript.

What is the use of ActionScript in developing Flash games?

ActionScript is used primarily for the development of websites and software targeting the Adobe Flash platform, originally finding use on Web pages in the form of embedded SWF files. ActionScript 3 is also used with Adobe AIR system for the development of desktop and mobile applications.


3 Answers

  • Flash (Now Adobe Animate) : Both the name for the tool (Officially called Adobe Flash Professional CC (previously CS#), but often called the Flash IDE), and the Platform. The Flash Platform is everything on this list, plus more. "Flash" also may refer to Flash SWF files. which is the compiled application.

  • Flex : Framework that uses MXML and ActionScipt. Includes many widgets, classes, etc for building rich applications in no time.

  • ActionScript 3.0 : Programming language that is used to create logic and interactivity throughout the flash platform

  • MXML : Declarative markup language used by the Flex framework.

  • Flash Player : The runtime environment that "plays" Flash SWF files.

  • Flash Builder : (Previously called Flex Builder) Code IDE based on eclipse, built by Adobe. Used to code anything for the flash platform, including ActionScript, Flex, AIR, etc. Also integrates nicely with the Flash IDE.

  • Adobe AIR : Adobe Integrated Runtime. Cross OS runtime, that lets you make Flash application that run and integrate with the desktop.

  • Flex SDK : Development Kit that contains a bunch of tools for building Flash, Flex, and AIR application. It contains the Flex compiler, that can be used to compile your Flash projects, including AS3 only projects.

Good overview of the Flash Platform: http://www.adobe.com/devnet/flashplatform/articles/flashplatform_overview.html

A few other links for further reading: Flash is being redefined, Flash is Not a Stepping Stone!

like image 103
Adam Harte Avatar answered Oct 11 '22 14:10

Adam Harte


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.

like image 36
Glycerine Avatar answered Oct 11 '22 13:10

Glycerine


  • Flash is the runtime environment
  • ActionScript 3.0 is the programming language for the Flash Platform
  • Flex is an ActionScript framework
like image 39
splash Avatar answered Oct 11 '22 13:10

splash