Now, i know difference between Flex & Flash & Action Script
| Posted in Uncategorized | Posted on 27-09-2010
0
Hello everyone, first i want to mention why i post this article today. i joined new software house company to work in enterprise project, as usual the first task is reading requirement documents and waiting for my task. at my first day i get the task it is action script task with web service and i get my surprise… I don’t know any thing about action script
:). go to my friend “GOOGLE”, and ask him and it get me to new question what is the difference between Flash & Flex & Action Script.
Some of people think that flex and flash are different, No this isn’t right. flex provide more bigger application mainly for RIA application so flex to me is really a suite of tools and an environment to build bigger, more reliable more complex Flash applications.
Flash is more of an authoring tool. It is designed for artists in mind to express their creative abilities. True you can use actionscript and create what you can in flex, however, the use of time lines is never really used in any type of application devolopment. Added to that you will spend countless hours trying to create a solid framework for your project which can be avoided in Flex since it is already there for you to use!
Really, i found this on site on internet and i want to share with you: it is very interesting paragraph
Flash – build a house
You hire a plumber, a carpenter, a window guy, a concrete guy and some general laborers, you give them hand tools and you say “build me a house”. They can do it, but it takes time and a very “fancy” house may be difficult without a crane or bulldozers.
Flex – build a house
You hire the same guys, but you also get a 3 cranes, 4 bulldozers and 5 other guys for free. The house is still a house, but it can be built faster, or can be more complex, can be bigger or can offer features that would not have been possible with the guys and hand tools.
Flex is not a new language (it does use MXML, but that is converted to Actionscript and most of the hard work is done in Actionscript), it uses Actionscript just like flash does, but it comes with a lot of extra features, to make more intelligent applications.
Examples of applications
You want to create piece of software where it has a person’s face, and you put different hairstyles on the face just for fun and you want to be able to upload your face or your friends face and then share it so you can all laugh at your friends with green spiky hair.
Flash
1) You create the graphics in flash
2) You have some “place” where the hairstyles are stored maybe xml files, or a database and the supporting images
3) You have a place where the pictures of “friends” will be stored after they are uploaded.
4) You learn how to do “social bookmarking” with either javascript, flash or some other language.
In Flash this would require a designer to learn a lot of programming skills, or a developer who doesn’t really understand flash to figure out “how” to do it. Some developers are good in flash, but it’s not common.
Flex
1) You create the graphics in flash
2) A developer creates Actionscript 3 code in the Flex Builder (A tool for developers to build software) , the code knows how to load hairstyles, add images, upload updates etc. This is very easy for a developer since this is “normal” work for a developer, loading files, reading data, talking to other “systems” (social bookmarking).
There is SEPARATION of concerns here, the “animator” works in flash, the “programmer” works in flex, they can now build MUCH more complex applications.
Using Flash and Flex together, developers can build complex logic applications and experiences while utilizing high design content and animations.





Use the Highlighter
This website now has an AutoPublish widget:

