Getting started with Flex3 - apache-flex

I'm a little bit confused.
I want to start learn Flex3 with Eclipse and the FlexPlugin .
But I can't find the link.
Is the Standalone version of FlexBuilder free ?
How do i set up the Enviorement ?
Do i have to download the FlexBuilder ( free?)
Or do i have to download Eclipse and then add the plugin ( link ? )
Can anyone help me :(

Flex Builder Standalone will work as is just download and use, but no version of flex builder is free, you get a trail version of 30 days or so.
For Flex Builder plugin version you need to first download Eclipse from eclipse.org and then download the Flex plugin. On installation of the flex plugin, the wizard will prompt you to point it the eclipse (unzipped) location, it will take care of installing the plugins.
The plugin version is useful if you want to work on java based projects, if you just want to learn flex use Flex Builder Standalone version.

Flex Builder is not free. You can use Flash Develop together with flex sdk (both are free) to get syntax highlighting and code completion in mxml/AS files.

Actually, you can get hold of Flex Builder for free, assuming you fit into one of two categories, if you are unemployed or in education (educator or student)
See freeriatools.

Adobe Flex Builder is not free but you can download trial. Flex SDK is free though and will be enough at least for hello world examples.

Related

Installing Flex 4.6 in Eclipse on Windows Vista

I am using Windows Vista 32bit. I have installed Eclipse Helios Service Release 2.
I need to integrate flex in Eclipse. Can someone show give me steps to install or point me to a good tutorial that explains the process.
Note: I have downloaded flex_sdk_4.6
From your comments it seems FlashBuilder is your tool of choice.
Download it
Go to the FlashBuilder download page to get it. The automatic download will have you download an Akamai software, which is Adobe's download crapware. If you're behind a proxy, you're out of luck: your download won't work. You can get a direct link though: simply cancel the automatic download and on the download page select the "File 1 of 1" link.
Install it
You can find the installation instructions here for both a standalone installation or as an Eclipse plugin: http://helpx.adobe.com/flash-builder/release-note/flash-builder-4-6-release.html#main_Install_your_software
You can't really integrate Flex into eclipse without a plug-in - it would let you edit the text files as text, and run the compiler, but you'd have no actual IDE support.
As for plugins/eclipse-based IDEs: Right now, there's Adobe Flash Builder and FDT, which are both good products (they each have different advantages and shortcomings, though -you probably want to try them out and see which fits your needs best), but they are both neither free nor cheap.
Another very good commercial IDE is IntelliJ IDEA, but that's not eclipse-based.
If you need a free IDE for ActionScript on Windows, check out FlashDevelop - it is not quite as sophisticated as the eclipse-based commercial products, but a good start if you want to get into ActionScript, or try out IDE alternatives to Flash.

Flex Builder Plugin in Eclipse - Some Controls not available !

I downloaded Flash Builder from here : Download
I recently started writing some small programs in Adobe Flash Builder Plugin for Eclipse.
I am trying out those programs by reading out the Adobe book : Training from the source.
But, I found that some of the controls mentioned in the book for some e.g, such as ApplicationControlBar doesn't appear in the Adobe Flash Builder 4. That control is mentioned in the book, but unable to find in the Builder.
What should I do ? Any suggestions ?
I suppose you've created project using Flex 4 SDK which is default in Flash Builder 4. And the book covers Flex 3. So Flash Builder created spark Application container (from Flex 4) where ApplicationControlBar isn't actual anymore and replaced with controlBarContent property which allows to skin Application more flexible way.
So I can recommend you the following 3 solutions how to use Flex 3 (to be compliant with the book) in your project:
The easiest way to switch existing Flex 4 project to use Flex 3 is the following. Open project properties then Flex compiler > Flex SDK version > Use a specific SDK and select Flex 3 SDK which should be available there. Then you need to create new application in your project, select it as default using context menu, copy old application context to the new one and delete old application file. But I suppose it is better to create new project as far as you are dealing with sample apps from the book.
So just create new Flex project and select the right SDK version on the New Project master's first page.
If you plan to use only Flex 3 for your book's playground workspace you can set Flex 3 SDK as default so you won't need to select the right version on project creation. Just go to the Preferences > Flash Builder > Installed Flex SDKs and select the default version. You can go there right from the new Flex project wizard by clicking Configure Flex SDKs…
Hope this helps!
I've never seen or heard of an ApplicationControlBox. Perhaps they were referring to the ApplicationControlBar and that it's just a typo.
Adobe has some great documentation out there on each of its packages and classes. It's a great place to start if you ever have a question about one of the components.

flex plugin on eclipse

This is not a programming question but i wanted to know How to install flex plugin for eclipse on ubuntu.Point me to any links for this.Eclipse is already installed.Thanks...
Flash Builder is not supported on any form of Linux.
You might try FDT, which has support for Linux.
IntelliJ also supports Linux, however is not eclipse based.
You can make flash builder run in linux using wine. Intellij Is decent, but fall way short in flex development. ( except re factoring of course ;))
search google for "flexbuilder in linux" + wine. You will get multiple results including this one.
http://diariolinux.com/2009/06/22/how-to-install-flash-builder-on-linux/

Can Flash Builder 4 Premium compile Flex Builder 3 Pro project?

That's about it. Oh, and I don't want to convert the Flex Builder Project making it incompatible with Flex Builder 3 Pro.
Yes! Here is an article and video that shows how to use the Flex 3 SDK in Flash Builder 4.
Yes, you can compile the project with Flash Builder 4. ISTR it either silently updated my project settings or I might have converted the project.
In any case, if you are trying to simultaneously use Flex Builder 3 and Flash Builder 4 you should note that at least one of the internal eclipse & FB project settings files (.actionScriptProperties, .flexProperties & .project) changed format between FB3 and FB4 - I can't remember exactly which ones changed off the top of my head.
This will affect your development workflow.
I have previously used Flash Builder 4 on a project whilst the rest of the team was using Flex Builder 3. Whenever they updated their project I had a lot of problems with conflicts in at least one of the above files. Whenever this happened, I just accepted the FB3 versions of the files, and let FB4 internally deal with upgrading the format. If I somehow needed to make changes to those files (such as adding a new class), I'd either get another team member to do it, use FB3 to add the files, or just manually edit the file myself. Irritating, but not the end of the world.
YMMV.
Yes. Adobe products are extremely backwards compatible. However, some Adobe products will by default save your "older" files into the newer format - ie if you saved your FB 3 project with the FB 4 application, you may have to choose "Save As" to force it to save it as version 3 (this is true at least for Flash, not certain if Flex is different in that regard). This is only relevant if you need to retain the older file format for compatibility with other coworkers who only have an older version of the program.

Eclipse (3.4) will not load Flex Plugin

I installed Flex Builder plug in (3.2) into Eclipse 3.4. The installation had no errors, but I get this error when trying to start a new Flex Project.
The selected wizard could not be started.
Plug-in com.adobe.flexbuilder.apollo.ui was unable to load class com.adobe.flexbuilder.apollo.ui.wizards.flex.FlexApolloProjectWizard.
com/adobe/flexbuilder/editors/common/ui/project/wizards/AbstractFlexProjectWizar d
I have tried re-installing several times, even tried the older eclipse versions.
Any thoughts ?
When Flex is installed on a Windows machine, it generates two versions of the Flex SDK, one in C:/Programs Files/Adobe/Flex Builder 3 Plug-in and the other in your Eclipse directory (not sure if this is true on a Mac). I've fixed similar issues by copying missing files from the Flex Builder folder into the parallel Eclipse plug-in directory. That would be my first guess.
If that does not work, you may have to contact Adobe.
Sometimes Flex is... terrible. I mean absolutely awful.
There was a major kerfluful with the fact that FlexBuilder would install correctly in Eclipse 3.4. The new Flashbuilder, for version 4 is designed to work with 3.5(galileo), I'm hoping that it will work with Helios, so I will no longer need to keep multiple Eclipse versions going. Here's a link on how to make it work. I just hope we don't have to keep repeating this.

Resources