Setting the '-extdir' param for Native Extensions and iOS?

Hi, I'm trying to set up this parameter for using an Air Native Extension as per this article:

http://www.saumitrabhave.com/2011/10/facebook-single-sign-on-for-air-ios.html

It says to set "-extdir" but when I add that to the compiler options I get an error.  It seems like this should be set not for the Flash compiler for for the ADT compiler?  Can anyone advise on how this is done in Idea?

Thanks!

6 comments
Comment actions Permalink

Try IntelliJ IDEA 11.1.2 EAP and follow these instructions. You don't need to set -extdir manually anywhere. Please tell if all works for you as the release is coming and we need to be sure that there are no problems with ANE.

0
Comment actions Permalink

Thanks, it compiles fine.  My next step is to see if the code in the ANE is working, but that fixed the compiler errors!

0
Comment actions Permalink

By the way IntelliJ IDEA 11.1.2 is officially released few hours ago.

0
Comment actions Permalink

This may not be an IntelliJ issue, but any idea why the flash.events.InvokeEvent is causing a compiler error?

NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,onInvoke);

public function onInvoke(e:InvokeEvent):void{
//code here
}

Error:

[Build - Main (module FacebookTest)] Type was not found or was not a compile-time constant: InvokeEvent.

All the imports are nice and blue looking.

0
Comment actions Permalink

Please make sure that 'Build - Main' build configuration(BC) has Desktop or Mobile target platform.
If you have more than one BC per module then you can select which one to use for highlighting in the status bar. So it may be possible to have different BCs for current highlighting and for compilation.

0
Comment actions Permalink

Yes, I just got that figured out.  Thanks!

Ok, the app is working with IntelliJ.  It made it super easy!

0

Please sign in to leave a comment.