You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Marcus Fritze <ma...@googlemail.com> on 2013/02/12 13:20:04 UTC

use AIR 3.5 with Flex 4.9, how?

Hi,

I want to use AIR 3.5 with the current Flex 4.9.0. But how can I integrate AIR 3.5 into Flex? (without compiling it)

Justin Mclean helped me how to integrate Flash 11.5 into Flex 4.9 by copying the playerglobal.swc into the correct folder and modify the flex-config.xml. And it's working for the Flash version.

So I tried to integrate the latest AIR into Flex. I copied the latest air files into frameworks/libs/air and modified thie air-config.xml. But this isn't working.

Is there a tutorial how to integrate the latest AIR into Flex or is there a possibility to modify the Flex SDK Installer to use the latest version of AIR? Or maybe somebody can help me?

Thanks!

Marcus Fritze

Re: error in addAIRtoSDK.sh? (was: Re: use AIR 3.5 with Flex 4.9, how?)

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> I will try this later and give you feedback.
I updated the script today to support AIR 3.6 and also fixed the path issue you pointed out. 

Thanks,
Justin

Re: error in addAIRtoSDK.sh? (was: Re: use AIR 3.5 with Flex 4.9, how?)

Posted by Marcus Fritze <ma...@googlemail.com>.
I will try this later and give you feedback.


Am 12.02.2013 um 23:04 schrieb Justin Mclean <ju...@classsoftware.com>:

> HI,
> 
>> I think there is an error in the addAIRtoSDK.sh.
> Quite possibly - your quite possibly the first person to test it :-) Did you change the script  as you suggested and give it a go?
> 
> Thanks,
> Justin
> 

Re: error in addAIRtoSDK.sh? (was: Re: use AIR 3.5 with Flex 4.9, how?)

Posted by Justin Mclean <ju...@classsoftware.com>.
HI,

> I think there is an error in the addAIRtoSDK.sh.
Quite possibly - your quite possibly the first person to test it :-) Did you change the script  as you suggested and give it a go?

Thanks,
Justin


error in addAIRtoSDK.sh? (was: Re: use AIR 3.5 with Flex 4.9, how?)

Posted by Marcus Fritze <ma...@googlemail.com>.
Ups...

I think there is an error in the addAIRtoSDK.sh.

Line 94

	tar xf "${airTempDir}/air.tbz2" -C "${IDE_SDK_DIR}/frameworks/"

I think it should be

	tar xf "${airTempDir}/air.tbz2" -C "${IDE_SDK_DIR}/"

I used the script

./addAIRtoSDK.sh "3.5" "/path_to_my_flex_folder/my_flex_folder"

The new extracted folders (bin and framework [with the AIR runtime]) will be extracted into frameworks. But I think this is not correct.

So after extraction I have

/path_to_my_flex_folder/my_flex_folder/frameworks/frameworks/libs/air/...

-> should be extracted to /path_to_my_flex_folder/my_flex_folder/frameworks/libs/air/...

and

/path_to_my_flex_folder/my_flex_folder/frameworks/bin/[some bin files]

-> should be extracted to /path_to_my_flex_folder/my_flex_folder/bin/[some bin files]

Either I am completely wrong or there is a little error in this script.

Greetings

Marcus Fritze


Am 12.02.2013 um 13:56 schrieb Marcus Fritze <ma...@googlemail.com>:

> Yes I am on os x. Thank you very much. I will try this in the evening and will give you feedback.
> 
> Thanks!
> 
> Am 12.02.2013 um 13:51 schrieb Justin Mclean <ju...@classsoftware.com>:
> 
>> Hi,
>> 
>>> I want to use AIR 3.5 with the current Flex 4.9.0. But how can I integrate AIR 3.5 into Flex? (without compiling it)
>> If you are on OSX take a look at the addAIRtoSDK.sh script in the ide directory (in the develop branch).
>> 
>> There's certainly no need to recompile.
>> 1. Make sure the /frameworks/flex-config.xml, /frameworks/air-config.xml and /frameworks/airmobile-config.xml have the correct flash player version 11.5 and swf version 18.
>> 2. On OSX download  http://airdownload.adobe.com/air/mac/download/3.5/AdobeAIRSDK.tbz2 and unzip to the SDK frameworks directory.  On windows download http://airdownload.adobe.com/air/mac/download/3.5/AdobeAIRSDK.zip and extract to the same place.
>> 3. Should be good to go. :-)
>> 
>> Justin 
>> 
>> 
> 


Re: use AIR 3.5 with Flex 4.9, how?

Posted by Marcus Fritze <ma...@googlemail.com>.
Yes I am on os x. Thank you very much. I will try this in the evening and will give you feedback.

Thanks!

Am 12.02.2013 um 13:51 schrieb Justin Mclean <ju...@classsoftware.com>:

> Hi,
> 
>> I want to use AIR 3.5 with the current Flex 4.9.0. But how can I integrate AIR 3.5 into Flex? (without compiling it)
> If you are on OSX take a look at the addAIRtoSDK.sh script in the ide directory (in the develop branch).
> 
> There's certainly no need to recompile.
> 1. Make sure the /frameworks/flex-config.xml, /frameworks/air-config.xml and /frameworks/airmobile-config.xml have the correct flash player version 11.5 and swf version 18.
> 2. On OSX download  http://airdownload.adobe.com/air/mac/download/3.5/AdobeAIRSDK.tbz2 and unzip to the SDK frameworks directory.  On windows download http://airdownload.adobe.com/air/mac/download/3.5/AdobeAIRSDK.zip and extract to the same place.
> 3. Should be good to go. :-)
> 
> Justin 
> 
> 


Re: use AIR 3.5 with Flex 4.9, how?

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> I want to use AIR 3.5 with the current Flex 4.9.0. But how can I integrate AIR 3.5 into Flex? (without compiling it)
If you are on OSX take a look at the addAIRtoSDK.sh script in the ide directory (in the develop branch).

There's certainly no need to recompile.
1. Make sure the /frameworks/flex-config.xml, /frameworks/air-config.xml and /frameworks/airmobile-config.xml have the correct flash player version 11.5 and swf version 18.
2. On OSX download  http://airdownload.adobe.com/air/mac/download/3.5/AdobeAIRSDK.tbz2 and unzip to the SDK frameworks directory.  On windows download http://airdownload.adobe.com/air/mac/download/3.5/AdobeAIRSDK.zip and extract to the same place.
3. Should be good to go. :-)

Justin