Skip to main content
Participant
June 19, 2012
Question

Publishing air apps with native extension with Flash CS6 on Windows

  • June 19, 2012
  • 5 replies
  • 1377 views

Hi all,

is there any trick to publish air apps with Flash CS6 on Windows?

I tried all native extensions from devnet, but nothing work to me.

I read on Mac is possibility to specify the iOS SDK folder in publish

settings, but on Windows it´s missing. 

Is there anybody who has some experiences with publishing apps

with native extensions for iOS and Android with windows Flash CS6?

Thanks for all advices.

This topic has been closed for replies.

5 replies

Inspiring
June 19, 2012

I sympathize. I recently found a native alert for iOS and Android that's working with Flash CS6 on Windows with AIR 3.2.0.2070 but not AIR 3.2.0.2060. You can get the ANE here:

http://www.jampot.ie/ane/

Haven't tried the other ones. Let us know if you decide to try them.

The sample code they have on the page doesn't work with the native alert. Here's the code I created - it's a document class for a .fla that has one dynamic TextField and one Button component on the stage :

http://pastebin.com/DsxR9nJ4

Rad_imAuthor
Participant
June 19, 2012

Perfect, finally I see working native extension in my iPhone.

This ANE works me great, THANKS!

So I know now I can complile directly from Flash but why I can´t use Adobe´s official native extensions?

(http://www.adobe.com/devnet/air/native-extensions-for-air.html)

Inspiring
June 19, 2012

I got Adobe's vibration ANE to work in Flash CS6, but not any of the others. I guess this is just a case of "you get what you pay for" or "you get what they got paid for creating them", which is probably nothing except maybe a pat on the back from the boss. The Notification ANE had its own article and there were about four month's worth of "why isn't this working?" comments that went unanswered. Finally, a Flex developer - Mateusz Mackowiak, who's some kind of programming genius - took the source code and fixed it.

June 19, 2012
Rad_imAuthor
Participant
June 19, 2012

Hi,

thanks for response.

I use win Flash CS6 and I´m publishing as AIR 3.2 for iOS directly from Flash.

Any errors during compiling, but if I run my app on iPhone, it always freeze

and crash down, when code for vibration is caled.

I thought new Flash CS6 can publish and compile directly. Is compiling by

command line the only one right way?