I have a Flex Builder 3.0.2. It was shipped with Flex SDK 2.0.1 and 3.2. I would like to add the new Flex SDK 3.5. I followed the documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=build_6.html#162812:
- extracted SDK 3.5
- added into my SDK list
- set to default
- restart Flex Builder
- clean project
But it's just not working. There are many functions from the documentation I can't use still (but should be available with SDK 3.5). How can I use SDK 3.5?
Thanks in advance,
Peter
Check under project properties -> Flex Compiler, that you're not compiling against a specific SDK, instead of the default one you've set.
Also you might need to target Flash Player 10, in which case you might want to look at how to do that.
Related
Since changing to the AIR 3.6 I'm getting many errors such as:
Could not resolve <s:Sequence> to a component implementation.
If I switch to the built in Flex SDK 4.6.0 it works fine. I'm using Flash Builder 4.6.
UPDATE
I think that this is because there is a new compiler for ActionScript and that new compiler is included with the SDK and that is causing problems for Flex projects. I read this on the AIR SDK download page (which I did not notice before):
Note : Flex users will need to download the original AIR SDK without the new compiler.
Source
I was using the AIR SDK 3.6 with Compiler. I had to use the AIR SDK 3.6 only (no compiler). There's a link to it further down the page after the text "Note : Flex users will need to download the original AIR SDK without the new compiler."
Are you sure you upgraded to AIR 3.6 correctly? You have to merge it with your current Flex SDK (make sure to make a copy of it first). There are three distinct SDKs in Flash: Flash, Flex, and AIR. To use the AIR SDK, you have to combine it with one of the other two SDKs. You cannot just point your Project Properties to the AIR SDK you get from Adobe. That just won't work.
It's also worth noting that 3.6 is still in the testing phases. 3.5 is the latest stable release and unless you have a specific reason for using 3.6 (you are a tester, namely), you should avoid using it.
I installed FDT5 and it gave me a warning about missing APIs. But at the FAQ it said the APIs weren't needed to use Haxe. Yet while trying to follow the Haxe FDT5 tutorial, it says to create a new FDT project. But FDT5 won't let me do this. It gives an error that the required SDK's aren't installed. So do I need to install Flex anyway? Or is there something I am doing wrong?
To solve your problem, either add the 3.6 & 4.5 Flex SDKs to FDT or wait till the 5.5 release which is due this month.
While you don't need the Flex SDKs to USE Haxe & FDT, there is a bug in the scenario when someone wants to use FDT for Haxe only, doesn't setup the Flex SDKs and tries to create a new project.
The bug is that when you try to create a new project, FDT's New Project Wizard will check to make sure that Flex SDKs are linked to FDT. This is to prevent customers from creating broken ActionScript projects. This is good for AS developers but a pain for Haxe only developers - who don't need the Flex SDKs.
Once you add the Flex SDKs, FDT will not warn you about missing SDKs when you try to create a Haxe project.
I suggest using extern classes. Write what you want on mxml or as. Compile it into swf (or swc). You can use it with help of extern classes. Look here for detais.
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.
From which version of the Flex SDK is the Vector class available for Adobe AIR applications? I want to use a library that contains some code with Vectors. But my Flex Builder 3 (Flex SDK 3.0) doesnt seem to support it.
You can use any version above SDK v3.2 but you will have to make some changes in the project in order to target the Flash Player 10.
Try to open project properties>Flex Compiler>Adobe Flash Player Options and set version of the Flash Player as 10.0.0.
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.