Utilizing AIR Native Extensions in Flash Pro CS5.5

I'm trying to integrate Adobe's "Gyroscope" example of ANE to work from Flash Professional CS 5.5.
http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/g yroscope.html
Apparently, one has to use the somewhat crude "ADT" command-line tool to build an app that uses Native Extensions.
Unfortunately, I cannot get past the numerous errors ADT is throwing at me.  The latest is:
unexpected failure: inputs not set
java.lang.IllegalStateException: inputs not set
          at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.j ava:62)
          at com.adobe.air.ADT.parseArgsAndGo(ADT.java:556)
          at com.adobe.air.ADT.run(ADT.java:413)
          at com.adobe.air.ADT.main(ADT.java:463)
Unfortunately, I'm not an advanced developer, so I really don't know what any of that means. (But I'm sure if I can just get this one example to compile and run, I'll be better able to perform the necessary tasks in the future.)
Can someone PLEASE help me?
Thanks.
Mike

Joe_suchta, you can follow these steps http://www.youtube.com/watch?v=pwVkK27Nors
Lucky

Similar Messages

  • How to use Air 3.2 in Flash pro CS5

    Hi all,
    Is is possible to target Air 3.2 in the authoring tool Flash Pro CS5 ?
    If yes, how can it be done ?
    Thanks
    Raphaël

    Joe_suchta, you can follow these steps http://www.youtube.com/watch?v=pwVkK27Nors
    Lucky

  • Does flash builder 4.6 have a simple method to include Native Extensions like Flash Pro cs6?

    flash cs6 has this:
    http://www.adobe.com/devnet/air/articles/using-ane-in-flash.html
    flash builder 4.6 seems to only allow this through command line compilation.

    I've found a work around of removing the swc then adding it back. Such a damn pain in teh ***!

  • Rejected amazon appstore due to air url - published from flash pro with amazon selected

    We were just rejected from the amazon appstore due to the AIR url:
    The link to Adobe AIR in your app needs to be updated so that customers are taken directly to the Adobe AIR app page on the Amazon Appstore. -- The Download URL is http://www.amazon.com/gp/mas/dl/android?p=com.adobe.air
    We published via Flash Pro CS5.5 with Amazon selected, and when you install that APK on the device without AIR installed you get prompted to get AIR.  The 'Install' button gives you the intent menu for Web or Amazon, clicking amazon just takes you to the amazon appstore home page rather than directly to the AIR page..  How do we fix this?

    Could you please check the URL for AIR in: "C:\Program Files\Adobe\Adobe Flash CS5.5\en_US\Configuration\Android\Markets.xml" and confirm that it is set to the following:
    <market name="Amazon Appstore" url="http://www.amazon.com/gp/mas/dl/android?p=com.adobe.air"/>
    Or, if you're willing to generate the .apk by hand, you can use the "adt" command line mentioned at: http://forums.adobe.com/thread/903573

  • Successfully using a Native Extension with Flash CS5.5 Pro, having issues

    Hey all,
    I'm trying to use a native extension due to an app rejection about the new storage guidelines. I'm hoping someone can help me figure out how to use a native extension from Flash CS5.5 and the adt command line utility (I've never used before).
    Apples storage guidelines in 5.0.1 require files saved to Documents (and other places) to be marked with the icloud "do not back up" bit. I'm trying to use Adobe's IOS 5.0.1 data storage native extension to do that as I have file sharing enabled and my app downloads files I want the user to be able to copy to their desktop.
    From the bits and fragments I'm reading all over, getting it to compile means using the command line adt tool (I've never used it before) because Flash Pro CS5.5 doesn't support native extensions. Also, this native extension requires a v14 SWF published (11.1) and CS5.5 only goes up to 10.2 (or higher if you install the players).
    I edited the AiriPhone.xml file and pointed it to an AIR 3.1 airglobal.swc and I have AIR 3.1 overlayed in flash. I can't test AIR for iOS anymore after that change but I can get it to compile a SWF. The adt command line adt utility stopped complaining that my SWF version was 13 when it needed 14, so I assume this worked?
    I am trying to compile a debug version so I can see trace statements to see if the native extension reports success on changing the bit. Here is my command line cobbled together from scraps of info on adobe.com and the -help data:
    adt -package -target ipa-debug -connect 192.168.1.80 -provisioning-profile myApp.mobileprovision -storetype pkcs12 -keystore myApp.p12 myApp.ipa myApp-app.xml myApp.swf dat AppIconsForPublish Default-Landscape.png Default-LandscapeRight.png -extdir extensionDir
    Before this iCloud change this app published directly from Flash Pro CS5.5 without any issues. I am only running into issues getting this app to work with this native extension and/or published correctly.
    I am including the folders "dat" and "AppIconsForPublish" as well as splash screens (this app is landscape-only) as well as that extension in the folder extensionDir.
    After putting in my password my app compiles into an IPA which I can drop into iTunes. It has the same general size as the IPA generated from Flash Pro. The icon is correct, etc.
    When I sync this file, the progress bar goes across, I see it loading on my iPad and then once it goes to install I get a popup saying "iTunes Sync: 'myApp' failed to install."
    Is there anything obvious wrong with my adt line? Has anyone else used this native extension? Ideas on what I can do to fix this?
    No, unfortunately I did not build this with Flash Builder. I am an avid user of it now and this would be a moot point as it uses ANEs and changes SWF versions trivially. I have to get this to compile using Flash Pro CS5.5 though.
    Any help is greatly appreciated!
    edit:
    Just FWIW, after I updated the .xml to use the latest AIR and such (so the version is 14) I removed the extension, exported purely from Flash Pro CS5.5 and the app works fine. As soon as I enable the <extension> in the XML I can no longer install the app. This just appears to be a noob adt publish issue.

    My app downloads PDFs, movies and other information-esque files and saves them to the apps Documents folder so they can be retrieved via file sharing. These files not being in something purgable like /Library/Caches and not having the "do not back up" bit is why I was rejected.
    update: It's definitely my command line building.. I took out the native extension completely and published from flash to an IPA and it works. I then run adt on the same SWF that just worked and it fails to install. So the install failing is my command line. I see this article and my command line is very similar. I'm really uncertain why it's failing.

  • Native AIR extensions in Flash Pro

    I understand that AIR 3.X for Android supports "AIR Native Extensions" written in Java. 
    Has anyone successfully used one from Flash Pro.  I'd really love to see a working example from one of the Adobe samples such as their Gyroscope example at:
    https://www.adobe.com/devnet/air/native-extensions-for-air/extensions/gyroscope.html
    Thanks!

    @relaxatraja
    Thanks for the pointer to this excellent post.  Worked like a charm.  Note that even after updating the playerglobal.swc, you are not able to test the resulting swf in the IDE via 'Test Movie' [Ctrl-Enter] because the IDE does not use the installed stand alone flashPlayer, but instead a built-in one (for CS5 is version 10.1.52.14).  It is not updatable, as far as I can tell.  See http://swfhead.com/blog/?p=575  Testing via debug or in the actual standalone player or browser plugin works correctly.

  • Has anyone anywhere managed to get "AIR Native Extensions" to work with Flash CS 5.5?

    I'm trying to integrate Adobe's "Gyroscope" example of ANE to work from Flash Professional CS 5.5.
    http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/gyroscope.html
    Apparently, one has to use the somewhat crude "ADT" command-line tool to build an app that uses Native Extensions.
    Unfortunately, I cannot get past the numerous errors ADT is throwing at me.  The latest is:
    unexpected failure: inputs not set
    java.lang.IllegalStateException: inputs not set
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:62)
              at com.adobe.air.ADT.parseArgsAndGo(ADT.java:556)
              at com.adobe.air.ADT.run(ADT.java:413)
              at com.adobe.air.ADT.main(ADT.java:463)
    Unfortunately, I'm not an advanced developer, so I really don't know what any of that means. (But I'm sure if I can just get this one example to compile and run, I'll be better able to perform the necessary tasks in the future.)
    Can someone PLEASE help me?
    Thanks.
    Mike

    If you are looking for input from others, you are more likely to find people with either similar problems or complaints in the Flash General Forum (http://forums.adobe.com/community/flash/flash_general?view=discussions) rather than here in the Actionscript 3 forum.  If you scan thru it for the past few weeks/months you might even find someone with the same problem.

  • Flash CS6 IDE Air Native Extensions problem HELP

    i'm trying to test out CS6's new native extension (ANE) but I'm having a difficult time getting it to work.
    First I went to Adobe's page: http://www.adobe.com/devnet/air/native-extensions-for-air.html
    Downloaded the "Vibration" ane and then through the Actionscript settings panel added the .ane file to my app and then in my actionscript tried to add the code:
    import com.adobe.extensions.Vibration
    var vibe:Vibration;
    vibe = new Vibration();
    vibe.vibrate();
    But when I go to compile I get this error:
    Scene 1, Layer 'Layer 2', Frame 1, Line 3
    1172: Definition com.adobe:Vibration could not be found.
    What do I need to do to get this running? I've tried several different things and variations on the above code but nothing seems to do it. Help!

    Well that gets me furthur than before. Thank you. I had to change a few things.
    import com.adobe.extensions.Vibration
    I had to change to:
    import com.adobe.nativeExtensions.Vibration
    but now when I test in the debugger I get this error:
    [SWF] iOS.swf - 3827 bytes after decompression
    Vibration Constructor
    Vibration Constructor: Create an extension context
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/mgarner/Dropbox/_apps/score board/com/adobe/nativeExtensions/Vibration.as:58]
              at com.adobe.nativeExtensions::Vibration()[/Users/mgarner/Dropbox/_apps/scoreboard/com/adobe /nativeExtensions/Vibration.as:32]
              at iOS_fla::MainTimeline/frame1()[iOS_fla.MainTimeline::frame1:14]
              at runtime::ContentPlayer/loadInitialContent()
              at runtime::ContentPlayer/playRawContent()
              at runtime::ContentPlayer/playContent()
              at runtime::AppRunner/run()
              at ADLAppEntry/run()
              at global/runtime::ADLEntry()
    And when I publich to app the phone doesn't vibrate, but all my other functions and actions are working. Any ideas?

  • Adobe Flash Pro CS5 Install fails

    Hi. I tried to install the trial of Flash Pro CS5 to my mac, but it failed. Installer gives me these errors:
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 51 error(s), 42 warning(s)
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe WinSoft Linguistics Plugin CS5: Install failed
    ERROR:  - Adobe CSXS Infrastructure CS5: Install failed
    ERROR:  - SiteCatalyst NetAverages: Install failed
    ERROR:  - Adobe Bridge CS5: Install failed
    ERROR:  - Adobe Flash CS5_AdobeFlash11-en_USLanguagePack: Install failed
    ERROR:  - Adobe Flash CS5_AdobeMobileExtension_Flash11-en_US: Install failed
    ERROR:  - AdobeHelp: Install failed
    ERROR:  - Adobe AIR: Install failed
    ERROR:  - AIR2 For Adobe Flash Pro: Failed due to Language Pack installation failure
    ERROR:  - Photoshop Camera Raw: Install failed
    ERROR:  - Suite Shared Configuration CS5: Install failed
    ERROR:  - AdobeColorCommonSetCMYK: Install failed
    ERROR:  - Camera Profiles Installer: Install failed
    ERROR:  - DeviceCentral_DeviceCentral3LP-en_GB: Install failed
    ERROR:  - Adobe Media Player: Install failed
    ERROR:  - Adobe Player for Embedding: Install failed
    ERROR:  - Adobe Media Encoder CS5: Install failed
    ERROR:  - Adobe SwitchBoard 2.0: Install failed
    ERROR:  - AdobeColorJA CS5: Install failed
    ERROR:  - Adobe Flash CS5_AdobeMobileExtension_Flash11-mul: Install failed
    ERROR:  - Adobe ExtendScript Toolkit CS5: Install failed
    ERROR:  - Players For Adobe Flash Pro: Install failed
    ERROR:  - Adobe BrowserLab CS Live: Install failed
    ERROR:  - iPhone Publishing: Install failed
    ERROR:  - CSXS Story Extension: Install failed
    ERROR:  - Adobe XMP Panels CS5: Install failed
    ERROR:  - DeviceCentral: Failed due to Language Pack installation failure
    ERROR:  - AdobeTypeSupport CS5: Install failed
    ERROR:  - AdobeColorCommonSetRGB: Install failed
    ERROR:  - Adobe Utilities CS5: Install failed
    ERROR:  - Adobe CSXS Extensions CS5: Install failed
    ERROR:  - AdobeOutputModule: Install failed
    ERROR:  - AIR2 For Adobe Flash Pro_AIR2_Flash11-en_US: Install failed
    ERROR:  - PDF Settings CS5: Install failed
    ERROR:  - Adobe Linguistics CS5: Install failed
    ERROR:  - DynamiclinkSupport: Install failed
    ERROR:  - AdobeColorEU CS5: Install failed
    ERROR:  - AdobePDFL CS5: Install failed
    ERROR:  - AdobeCMaps CS5: Install failed
    ERROR:  - AdobeColorNA CS5: Install failed
    ERROR:  - Flash Player: Install failed
    ERROR:  - Adobe Flash CS5: Failed due to Language Pack installation failure
    ERROR:  - Adobe Extension Manager CS5: Install failed
    ERROR:  - TLF For Adobe Flash Pro: Install failed
    ERROR:  - Pixel Bender Toolkit: Install failed
    ERROR:  - Adobe ReviewPanel CS5: Install failed
    Does someone know what to do?

    1. Draw your button (a rectangle, circle, your graphic)
    2. Select it and choose Modify> Convert to symbol
    3. Choose type "Button"
    4. Give it an instance name on the "Properties" window, like my_btn
    5. Create a new layer and place your cursor on the first frame for the layer you just created
    6. Press F9 in Windows or open the Actions window Windows > Actions
    7. Write code to indicate the function for the button:
    function playVideo(event:MouseEvent):void
         myVideo.play();
    my_btn.addEventListener(MouseEvent.CLICK, playVideo);
    function stopVideo(event:MouseEvent):void
              myVideo.pause();
    myStop_btn.addEventListener(MouseEvent.CLICK, playVideo);

  • Can't launch or reinstall Flash Pro CS5 after Flash Pro CC installation

    I'm on a newly installed hard drive with a fresh install of Mac OS X 10.7.5. I installed Flash Pro CS5 and it opened fine. Then I installed Flash Pro CC and now I cannot open the CS5 version. It says there is a configuration error and I need to uninstall and reinstall the application. So I tried reinstalling and I get a message that I must either cancel the installation or eject the disk image. I have tried all the workarounds suggested for bypassing Mac OS Gatekeeper and still no luck. An Adobe rep from another forum suggested I post this issue here to see if anyone has any suggestions. Here is what I have tried so far:
    Control-click on the installer and choose open to run it.
    Disabled Gatekeeper in Security and Privacy settings of System Preferences.
    Disabled Gatekeeper manually in Terminal.
    Tried to uninstall the original installation of Flash CS5, but it says the uninstaller file can't be found.
    Ran the Adobe Cleaner tool to remove CS5 applications.
    Ran the spctl -a command on the installer and it said CSSMERR_TP_CERT_REVOKED. Assuming this means the certificate has been revoked?
    Any help is appreciated. Thanks!

    Bernst did you also run the uninstaller located in the Applications/Utilities/Adobe Installers folder?  This is meant to be ran prior to utilizing the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    Also what specific configuration error are you receiving?

  • Adobe Air native extension for admob

    Dear Adobe Team,
    We have recently purchased Adobe Air native extension for admob for android & ios
    but every time we upload our app to an ipad or iphone, the app crashes.
    We have carefully followed your instructions, and we're sure we've not made a mistake writing the action script 3 code.
    We need your help in solving this problem urgently, as we are now running behind schedule in uploading our app.
    Thanks very much,
    Amir Steklov and Dorit Leshnick

    Before I was also searched a lot to find good  add network and also Admob.
    Finally we done successfull integration using..  working fine in all IOS devices. not yet released to Apple app store
    http://code.google.com/p/flash-air-admob-ane-for-ios/source/browse/trunk/admobaneiphone/sr c/admobtest.as?r=2
    You can check our add setups using Air ANE's for our android game ExpressTrain.
    https://play.google.com/store/apps/details?id=air.timuzsolutions.expresstrain&feature=sear ch_result#?t=W251bGwsMSwyLDEsImFpci50aW11enNvbHV0aW9ucy5leHByZXNzdHJhaW4iXQ..
    you no need to buyAdobe Air ANE's everything is free but all u need to do is googling,
    hope this will help.
    Bala
    Message was edited by: vamsibalu

  • Need help with languages issue in iOS app created in Flash Pro CS5.5

    Hello all,
    I'm using Flash Pro CS5.5 on a Mac running Snow Leopard to create an iOS app by publishing with 'AIR for iOS' from inside Flash Pro. Everything works great except after I submit my app to the Apple App Store and it is approved, the App Store listing claims that the app is available in a ton of different languages including English, German, Chinese, Italian, Spanish, etc. Since this app is a word game and all the words are in English, this is a pretty significant issue.
    If I view the binary details for the app in iTunes Connect, it shows that localizations are active for all of the different languages. This information is read from the .ipa file that is submitted.
    If I unzip the .ipa file, I can see that folders have been created for all of the localizations (i.e. en.lproj, es.lproj, fr.lproj, etc.). If I delete any of those folders, the .ipa will give me a 'resources modified' error at install.
    I have also tried setting the plist attribute 'CFBundleLocalizations' to 'English' by editing the 'app.xml'. I have verified that the attribute has been changed correctly but it does not solve the issue. All of the localizations are still active.
    Any help would be greatly appreciated.

    Can you try workaround given at http://forums.adobe.com/message/3976641 and post back your findings.

  • How to test and configure custom extensions in Flash Pro CC?

    Hi,
    How do you install custom CS extensions in Flash Pro CC for testing and debugging before they have been signed and packaged?
    We have a custom extension for Flash Pro developed in-house using the CS SDK that we've been using with flash pro CS5 and CS6 but we're having trouble getting it to work in CC and I'd like to run it locally in test/debug mode.
    With flash pro CS6 and CS5 it was possible to test extensions by copying the output folder from flash builder into the CS Service Manager root folder (e.g. /Users/<username>/Library/Application Support/Adobe/CS6ServiceManager) and setting PlayerDebugMode to 1 in the CSXS preferences.
    I've added the PlayerDebugMode=1 flag to com.adobe.CSXS.4.plist however, I can't find the equivalent service manager folder for Flash Pro CC to copy the extension into.
    Is there a different folder to use for CC or is the process for testing extensions completely different? (are extensions written in the CS SDK even compatible with CC?)
    I'm running Mac OS Lion.
    Thanks,
    Stephen

    Thanks, that explains a lot.
    I'm afraid I'm a bit confused about what the preferred way of developing extensions is going ahead. There seems to be a lot of conflicting documentation on the adobe site, e.g. http://www.adobe.com/devnet/creativesuite.html  seems like the top page for extension documentation but it only talks about CS SDK 2.0 which uses CSXS and doesn't seem to be compatible with creative cloud apps.
    Then there's CS Extension Builder 2.1 which looks like it supports Flash Pro CC but isn't mentioned in the pages you linked too and it doesn't mention JSFL, but talks about the CSAW library.
    Do you know if:
    * The CS SDK has been dropped completely? 
    * CS Extenstion Builder is deprecated? (I can't see it as an option in the list of Creative Cloud apps)
    * Is then any documentation/utilities to help migrate existing CSXS extensions to work with creative cloud apps?
    Thanks,
    Stephen

  • Is it possible to access an AIR Native Extension inside an Actionscript worker?

    Hi, I'm currently trying to push off some time consuming tasks to an actionscript worker. This worker will in turn needs to call out to an AIR Native Extension as part of it's processing.
    I've tried various combination in Flash Builder 4.7 i.e. embedded worker and external worker (with explicit packaging of the ANE in the external worker project)  but alas I've been unable to get this to setup to work. I keep getting an error from the worker saying that the native extesion class could not be found (Error #1014).
    Does anyone know if it is at all possible to do this or it's a limitation of Actionscript workers (loading thw swf bytes does not load up the ANE)?

    Hi
    I also met the same problem---"native extesion class could not be found"
    The problem is solved?
    I think the reason is
    " <extensions>
      <extensionID>XXXXXX</extensionID>
    </extensions>“ in  "-app.xml"
    the worker do not  konw the extensionID
    In this article :
    Adobe AIR * Using native extensions for Adobe AIR
    Including the ANE file in your application’s library path
    To compile an application that uses a native extension, include the ANE file in your library path.
    Using the ANE file with Flash Builder
    If your application uses a native extension, include the ANE file for the native extension in your library path. Then you can use Flash Builder to compile your ActionScript code.
    Do the following steps, which use Flash Builder 4.5.1:
    Change the filename extension of the ANE file from .ane to .swc. This step is necessary so that Flash Builder can find the file.
    Select Project > Properties on your Flash Builder project.
    Select the Flex Build Path in the Properties dialog box.
    In the Library Path tab, select Add SWC....
    Browse to the SWC file and select Open.
    Select OK in the Add SWC... dialog box.
    The ANE file now appears in the Library Path tab in the Properties dialog box.
    Expand the SWC file entry. Double-click Link Type to open the Library Path Item Options dialog box.
    In the Library Path Item Options dialog box, change the Link Type to External.
    Now you can compile your application using, for example, Project > Build Project.
    the error will be done
    Unfortunately, it still does not work well!
    Error: Error #3731: This feature is not available within this context.
      at flash.external::ExtensionContext$/_createExtensionContext()
      at flash.external::ExtensionContext$/createExtensionContext()
    3731
    This feature is not available within this context.
    This error occurs if a background worker attempts to access an API that is not available to it. 
    Run-Time Errors - Adobe ActionScript® 3 (AS3) API Reference

  • AdMob AIR native extension

    Hey guys.
    I've been working on an AdMob ANE for a couple weeks:
    http://www.brinkbit.com/blog/ane-admob-android-ios/
    I know there are already a number of these out there, but I couldn't find one with all the features that I wanted, so I decided to make my own. Mostly I was interested in exposing the AdMob SDK's new property "tag_for_child_directed_treatment" to make apps COPPA-compliant. I don't know if anyone else is really concerned about COPPA compliance, but it was something that my company has been paying close attention to.
    The ANE also served as a great learning experience for me, as it was the first big Native Extension I've made. I plan on making a lot more of these in the near future, and it was useful to start with something that I knew was possible.
    In making it, I realized there were a number of other aspects I could expose in the SDK that maybe some other developers overlooked, like the ability to preload both banner and interstitial ads. I tried to make it as full-featured as possible and I'm pretty proud of the result. This was mostly for my own benefit, but I'm hoping that other developers will find this useful. I spent a ton of time working of this and I didn't feel comfortable offering it 100% for free, especially since most of the other AdMob ANEs I found are paid, but I tried to make it as cheap as reasonably possible.
    I am planning on making some free tools for Starling developers in the near future, so if paid stuff is not your cup of tea, I totally respect that and am gonna make stuff for you too
    Thanks for taking the time to read this.
    Here's a tutorial I put together http://www.brinkbit.com/blog/admob-air-native-extension-tutorial/

    https://code.google.com/p/adoble-flash-air-ad-network-framework/

Maybe you are looking for