tags:

views:

261

answers:

3

What differences are there betwee Flash CS4 and Flex, besides the GUI of Flash?

+1  A: 

Flash is more focused on animation (comes with a library, etc.) and Flex is focused on web application development.

A nice article covering Flash and Flex can be found here.

MysticEarth
+2  A: 

Flex is a programming environment, with a proper programming IDE like you'd find for Java. It's focused on software development - the fact a Flex app is compiled to a Flash SWF binary is almost irrelevant. Flash CS4 is an art/graphic design tool. It allows you to do some coding, but this is focused on tagging code onto animations. It's a bit like how you can do coding in MSAccess - it's allowed but not the main focus, and the development tools are not at all geared at coders. In fact you have to learn how to even find the code in CS4.

Bottom line, if you are a programmer then Flex will seem natural. CS4 won't.

John
+3  A: 

"Flex" isn't the application, "Flex Builder" is. That's important - "Flex" is a framework. Asking the difference between Flash and Flex is a bit like asking the difference between JavaScript and JQuery.

Flex Builder is an eclipse-based code editor that has built-in support for the Flex framework. The Flex Framework gives you a powerful set of tools for working with data - these tools are generally speaking not available in Flash.

If you're doing something really complex that deals with dynamic data, it might be worth considering using Flex instead of straight up Flash.

It gets a little confusing, though - you can use Flex Builder as your ActionScript editor in a Flash project. In other words, you still have the .fla but you do your coding in Flex Builder instead of Flash. The reason many people do this is that Flex Builder provides a much more robust code editor. For instance, you'll get code hinting for custom classes - which is an enormous timesaver if you're building something even moderately complex.

I hope that helps! Both Flex Builder and Flash are powerful tools, I'd recommend playing with both of them to get a sense of what you can do with each.

Myk
_"you can use Flex Builder as your ActionScript editor in a Flash project"_ Was not aware of that, nice to know. Though for software developers, I still see no need for CS3/4... artists can create content using it which will integrate beautifully with an app written in Flex.
John
It really depends on what you're doing. It's possible to write an entire AS3 and/or Flex app in Notepad if you want to, and compile it with the MXMLC command line compiler. Different tools give you different benefits. Flash CS3/CS4 is wonderful for doing animation, or if you have a creative person doing graphics for your advanced application. It's possible to export a .swc from Flash and import it into a Flex project - that gives you the best of both worlds.
Myk
+1 for good explanation. although Flex Builder is a very poor AS3 editor, compared to FlashDevelop, FDT or TextMate with the according bundle.Flex Builder is Flex and MXML centric and the perfect tool for that job. For pure AS3 it's a pain in the ass.
back2dos