Re: use AIR 3.5 with Flex 4.9, how?

2013-02-12 Thread Justin Mclean
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?

2013-02-12 Thread Marcus Fritze
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 jus...@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 
 
 



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

2013-02-12 Thread Marcus Fritze
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 marcus.fri...@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 jus...@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: error in addAIRtoSDK.sh? (was: Re: use AIR 3.5 with Flex 4.9, how?)

2013-02-12 Thread Justin Mclean
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?)

2013-02-12 Thread Justin Mclean
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