The IDEs used for Flex development namely Adobe Flash Builder 4 and
Adobe Flex Builder 3 which are currently installed on your systems do
not come with the AIR 2.0 SDK by default. Thus many of the features
like Open Document API whose tutorial was mentioned in the last mail
will not compile and will thus generate errors.

However we can easily obtain the AIR 2.0 SDK and use it with our
existing Flex Builder 3 or Flash Builder 4. The following steps will
illustrate how to do this:
Download the ZIP package containing AIR 2.0 SDK using the following
link http://download.macromedia.com/pub/labs/air/2/b1/air2_b1_sdk_win_111709.zip
Unzip the contents in a new folder and name the folder Temp.
For Flex Builder 3:
Browse to the sdks folder in the installation folder of Flex Builder 3
(C:\Program Files\Adobe\Flex Builder 3\sdks)
The sdks folder has 2 folders namely 2.0.1 and 3.2.0
Create a new folder and name it 3.2.0.2
Copy all the contents from Temp folder to 3.2.0.2
Copy all the contents from folder 3.2.0 to folder 3.2.0.2
While copying you will recieve the following notifications :
bin folder already exits --- In this case select the option to merge
both folders.
There is already a file with the same name in this location --- select
the option of Don't Copy in this case.
Open Flex Builder 3
>From Flex Navigator Right Click on any one of the Project folders.
Select the Properties option (Its the last option of the menu).
A new window opens with title Properties of ..
On the left side of this window is a list of number of options. Select
the Flex Compiler option.
On the right side comes a discription of Flex Compiler being used like
shown in the following pic   Select the configure Flex SDKs option
(mentioned as a blue link)
A new window opens which shows a list of installed Flex SDKs. Select
the Add option. A pop-up appers which asks you to browse to the
location of the new SDK. Browse to the location of folder 3.2.0.2
which we created earlier (its location will be C:\Program Files\Adobe
\Flex Builder 3\sdks\3.2.0.2) and select it.
Press OK to confirm the changes done.
The AIR 2.0 SDK is now incorporated successfully in Flex Builder 3.
>From now all the new projects will be able to use the AIR 2 SDK ad its
features.
For Flas Builder 4:
Browse to the sdks folder in the installation folder of Flash Builder
4 (C:\Program Files\Adobe\Adobe Flash Builder Beta 2)
The sdks folder has 2 folders namely 3.4.1 and 4.0.0
Create a new folder and name it 4.0.0.2
Copy all the contents from Temp folder to 4.0.0.2
Copy all the contents from folder 4.0.0 to folder 4.0.0.2
While copying you will recieve the following notifications :

bin folder already exits --- In this case select the option to merge
both folders.

There is already a file with the same name in this location --- select
the option of Don't Copy in this case.
Open Flash Builder 4
>From Package Explorer Right Click on any one of the Project folders.
Select the Properties option (Its the last option of the menu).
A new window opens with title Properties of ..
On the left side of this window is a list of number of options. Select
the Flex Compiler option.
On the right side comes a discription of Flex Compiler being used like
shown in the following pic   Select the configure Flex SDKs option
(mentioned as a blue link)
A new window opens which shows a list of Installed Flex SDKs. Select
the Add option. A pop-up appers which asks you to browse to the
location of the new SDK. Browse to the location of folder 4.0.0.2
which we created earlier (its location will be C:\Program Files\Adobe
\Adobe Flash Builder Beta 2\sdks\4.0.0.2) and select it.
Press OK to confirm the changes done.
The AIR 2.0 SDK is now incorporated successfully in Flash Builder 4.
>From now all the new projects will be able to use the AIR 2 SDK ad its
features.

For Using AIR 2 SDK in previously created projects
If you want to use featres of AIR 2 in projects which have been
created earlier, follow the following steps
Open app.xml file in your project folder. For eg. If the name of the
project is Sample then in the src folder there is a file named Sample-
app.xml
The second line in this file is :
<application xmlns="http://ns.adobe.com/air/application/
1.5">


         <application xmlns="http://ns.adobe.com/air/application/
2.0beta">

Recompile the application. You can now use all the features of AIR 2
in your project.

You can go to my blog http://neerajcse.blogspot.com for tutorials on
new features in AIR 2.0

On Feb 2, 2:42 am, Abhi <[email protected]> wrote:
> Hi All,
>
> i want to Gumbo's (Flex 4)  sdk (flex_sdk_4.0.0.4904) use in flex 3.
>
> please help me

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to