Adobe Air 3.7 External SWF IOS

im using Air 3.7 to call external swf from server to main swf  , but i got this warning after publishing Air for IOS "ActionScript contained in externally loaded SWF files will be ignored on IOS devices" please what i miss i know that the SDK 3.7 support this features all my extrnal swf contain actionscript 3 ??

This warning is thrown by CS6 as CS6 was published when AIR iOS didn't have multiple SWFs support. Please ignore it as the feature will work in your app and SWFs will load on your iOS devices with AIR 3.7.
Thanks,
Nimisha

Similar Messages

  • Adobe AIR Alarm Services ANE for IOS and Android

    I want to make an Adobe AIR app for android and ios platforms and i should use alarm services of these platforms (ios & android) for several scheduled times in a day when app is not running.
    Could you suggest free or commercial ANE for this operation?
    thanks.

    Well nothing prevent you from mixing flascc with native extension.
    Also, I think that you can also use domain memory in AS3 with the Bytearray class (not sure about that).
    Flascc vs normal as3 is mostly a question of language (portability) Do you want to write as3 or c++?
    Native extension give you speed and native platform access(platform specific feature).
    So, you should think about it this way:
    AS3, run in flash and air. Is sandboxed. Can use domain memory, but it's a bit harder to leverage than flascc.
    Flascc, run in flash and air. Is sandboxed, Can use domain memory. Give you the potential of leveraging the hundreds of opensources lib already out there.
    Native extension, run ONLY in air. Is not sandboxed. Native memory management. Also let you leverage the c++ lib. 
    The best (in my opinion) is to write native code for mobile and desktop (no air or flascc involve) and use flascc for the flash/web platform. It's harder, because you have write portable native code (lots of abstraction), but you mostly have the same problem with native extension.

  • Adobe AIR memory leak loading SWFs

    I was plagued by a memory leak that would crash my application after a few hours. The application had worked fine in the past but now was having issues and I thought it might have to do with using newer SDK's.
    In the end I discovered that if I loaded external swf that had been compiled in debug mode, they would not clear completely on unload and cause a memory leak.
    Compiling in release mode fixed the issue. Spent 3 days trying to figure it out.

    Any chance you can check that out with the latest AIR?
    Either way, it sounds like a bug, please report it at http://bugbase.adobe.com/ and then report the bug number here. 
    If you're able to provide a reproducable case that would really increase the chance that we can do something about it.
    Thanks,
    roymeo

  • Adobe Air 3.5 application in iOS 5.1 can't start

    Hi,
    I cretated a app in App Store with Adobe Air 3.5
    It worked fine in a iOS 5.1 iPad when I tested it. But now, if I download it from the Apple Store it crashed on the beginning.
    I just downloaded it, click on it and crashes during Adobe Air loading screen. It's only working in iOS 6.0 and above
    Does somebody had a similar problem?
    thanks!

    Hi, please forget my last message. I was changing so many things I finished using a wrong mobileprovision. That's why I couldn't install the app in the device.
    On the other hand I have found the problem. Some changes in one of our ANE were not tested in iOS 5.0.1 devices and it made the app crash because it found a Adobe Air 3.5 bug. Adobe fixed it in AIR 3.6

  • Adobe AIR stream publish breaks on iOS devices

    Hi All
    I am using Adobe Air 13.0 to upload a streaming video to Flash Media Server.
    This works fine on all Android devices, but on iOS devices (both iPad and iPhone) the publish stream breaks after several time (could be 10 seconds, could be 5 minutes).
    Here are my relevant code segments:
    private function CreateConnection():void
      netconn = new NetConnection();
      netconn.client = this;
      netconn.objectEncoding = flash.net.ObjectEncoding.AMF3;
      netconn.connect(rtmpPath);
      netconn.addEventListener("netStatus", netConnection_eventHandler);
    netStream = new NetStream(netconn, NetStream.CONNECT_TO_FMS); 
    metaSniffer=new Object();
    netStream.client=metaSniffer;
    metaSniffer.onMetaData=getMeta;
    netStream.addEventListener(NetStatusEvent.NET_STATUS,netConnection_eventHandler);
    netStream.attachCamera(cam);
    netStream.attachAudio(mic);
    netStream.publish(InterviewID, "record");
    Thanks,
    Koby.

    Hi All
    I am using Adobe Air 13.0 to upload a streaming video to Flash Media Server.
    This works fine on all Android devices, but on iOS devices (both iPad and iPhone) the publish stream breaks after several time (could be 10 seconds, could be 5 minutes).
    Here are my relevant code segments:
    private function CreateConnection():void
      netconn = new NetConnection();
      netconn.client = this;
      netconn.objectEncoding = flash.net.ObjectEncoding.AMF3;
      netconn.connect(rtmpPath);
      netconn.addEventListener("netStatus", netConnection_eventHandler);
    netStream = new NetStream(netconn, NetStream.CONNECT_TO_FMS); 
    metaSniffer=new Object();
    netStream.client=metaSniffer;
    metaSniffer.onMetaData=getMeta;
    netStream.addEventListener(NetStatusEvent.NET_STATUS,netConnection_eventHandler);
    netStream.attachCamera(cam);
    netStream.attachAudio(mic);
    netStream.publish(InterviewID, "record");
    Thanks,
    Koby.

  • Does external links work when html based course embeded in adobe air

    Hi,
    i have an html based WBT, developed using Lectora.
    Now my clients wants its desktop version.
    I am using Adobe air to do it. My html course has some external links which opens in external popup windows and captivate swf files.
    If i wrap my html course into desktop application using adobe air, will my external links work?
    And swf files running in html pages will work fine?

    Hi flexo222,
    Currently Adobe AIR does not support custom CSS cursors and only some of the "default" cursors available in CSS.
    You could however use the following ActionScript workaround if you don't need a very complex behavior:
      * on mouseOver have the default cursor hidden
      * on mouseMove have a custom cursor drawn and positioned via ActionScript
      * on mouseOut have the custom cursor hidden and the default cursor shown.
    I have attached a sample that should make things clearer. Feel free to ask if there's anything not clear.
    Cheers,
    Mihai

  • Adobe AIR SDK 15 Beta (var dataSource:IDataInput = imagePromise.open();) crash on iOS

    I have used Adobe AIR SDK15 to build a iOS app, which have a button to browse the Photo in the iPad, but when i run the line of code "var dataSource:IDataInput = imagePromise.open();", the app will be crash, any body experienced?

    Hi Alericma,
    Thank you for reporting issue, though we are not able to reproduce this issue at our end.
    we have tried below code snippet,
    protected function buttonclick(event:MouseEvent):void
      var camera:CameraRoll=new CameraRoll();
      if(CameraRoll.supportsBrowseForImage)
      // Add event listeners for camera roll events
      camera.addEventListener(MediaEvent.SELECT, imageSelected);
      camera.addEventListener(Event.CANCEL, browseCancelled);
      camera.addEventListener(ErrorEvent.ERROR, mediaError);
      // Open up the camera roll
      camera.browseForImage();
      protected function imageSelected(evt:MediaEvent):void
           var imagepromise:MediaPromise=evt.data;
           try{
                     var dataSource:IDataInput=imagepromise.open();
           catch(err:Error)
                trace("Error Occured");
    Could you please share the sample app, with device information,target and device OS, so that we can reproduce at our end.
    Thank You

  • Adobe Air SDK 16.0

    Trying to use newly compiled MoPub ANE with Universal Binary Plugin x86 support for IOS Platform with Adobe Air SDK 16.0 for IOS App, i am encountering this compile time error.
    Adobe AIR
    [java] Picked up _JAVA_OPTIONS: -Xmx512m
         [java] Picked up _JAVA_OPTIONS: -Xmx512m
         [java] Undefined symbols for architecture armv7:
         [java]   "_OBJC_CLASS_$_VungleSDK", referenced from:
         [java]       objc-class-ref in libcom.sticksports.nativeExtensions.MoPub.a(VungleInterstitialCustomEvent.o)
         [java] Compilation failed while executing : ld64
         [java] ld: symbol(s) not found for architecture armv7
    MoPub XCode Project is compiled with Standard Architecture.
    Have tried out all possible solutions
    Any Possible solutions??

    Chris,
    Thanks for your prompt reply. I have found the way to reproduce. It is about interfaces, and when I try to call a method through an interface the app crashes. I think that it is related to having an interface with many parameters. I have logged the bug here:
    Bug#3935199 - iOS App crashes when calling an objects method through interface

  • Adobe AIR support for Windows RT and USB

    We want to develop an cross platform application. We found that Adobe AIR supports cross platform development for Windows, iOS and Android.
    We wanted to know wheather
    1) reading and writing to USB port is possible with Adobe AIR?
    2) Adobe AIR has support for Windows RT development?
    Thanks in advance.

    I wrote before about my concerns with Adobe AIR, but here is a short summary:
    - no road map and no clear plans for the platform,
    - support of new devices is often late, Intel chipsets are not supported on Android,
    - debugging on a device is a pain,
    - inadequate build times for iOS, app package is quite large,
    - list of mobile UI components is very limited and UI experience is far from native,
    - native extensions are a possibility but still far from perfect (imagine using three very different development platforms all in one app), no debugging,
    - performance is not good if you use a lot of Spark components in your app,
    - Flash Builder is pretty bad as the development environment,
    - ActionScript3 is a poor, outdated language that encourages bad coding practices.
    I ruled out HTML5 frameworks for the same reason as you stated above. Last few months I've been working with Xamarin MonoTouch and I think it is perfect for my projects. 100% native UI experience, about 80% of the code is shared among the platforms, iOS, MacOSX, Android and Windows 8/RT are supported. Took me about 2 months to convert my 2Mb ActionScript Adobe AIR project to Xamarin MonoTouch (iOS). The entire process was fun and painless. Now thinking to port to MacOSX and Android. My iOS app is already at the App Store, no major complains so far.
    On a down side, Xamarin is expensive for an indie developer with low revenues. You need to pay $300 per year per each platform (iOS, Android, Mac). Plus, you need to develop UI layer separately for each platform, so only part of the code is shared. But I decided it is a way to go for my projects and it's been a very positive experience so far.
    As for my professional development, Xamarin offers quite a bit more as well. I get to work with C#, .NET, iOS SDK, Android SDK all in one platform. With Adobe tools you only get to know ActionScript and Flex/Spark framework. Very rarely I see that as a desired qualification. It is like a trap. Your boss tells you to develop a few projects with Adobe tools, it sucks you in for a few years and suddenly you realize that your market value declined dramatically and there is no easy way out of this mess.

  • Instagram API for Adobe Air Mobile!

    Hi,
    Is there any third party api exist to integrate and work with instagram, e.g. login, photos etc. I want to integrate in my Adobe Air Mobile Project for both iOS and Android.
    Thanks.

    Hello Faisal,
    a api exist, here is the link http://code.google.com/p/instagr-as3/source/browse/trunk/instagrAS3/Instagram.as
    what software do you use for adroid development ? iam new on mobile and flash development, is flash cc engough or i need flash builder ?
    Can i develop all mobile android stuff in Flash CC ?
    thanks and greetings

  • How to make external SWFs garbage collected in Air for iOS?

    My app uses lots of external SWFs( well they are actually included in the app with a folder but they aren't embeded ) and they do not contain any bitmapdata, only vector graphics. The problem I'm having is that they seem to be never garbage collected and System.privateMemory keeps increasing as the app loads more SWFs.
    Since those SWFs only contain vector graphics, I simply nullify all the variables that are holding reference to SWF file and call System.gc().. But it doesn't seem to be working. What would I need to do for the garbage collector to clean the SWFs?
    I'm using Air for iOS 3.5.0.1060 and ActionScript3.0.

    Yes I'm calling System.gc() twice. I tried using loader.unloadAndStop(true) and it seems SWFs are being garbage collected but another problem has surfaced. When repeatedly loading and unloading SWF in a short period, the air garbage collector sometimes fails to work.
    I've tested loading and unloading same SWF 50k times and checked trace.  Occasionally, garbage collector misses to collect garbage like below( swf #45119 is not being garbage collected).
    [UnloadSWF] main.swf/[[DYNAMIC]]/45115
    [UnloadSWF] main.swf/[[DYNAMIC]]/45116
    [UnloadSWF] main.swf/[[DYNAMIC]]/45117
    [UnloadSWF] main.swf/[[DYNAMIC]]/45118
    [UnloadSWF] main.swf/[[DYNAMIC]]/45120
    [UnloadSWF] main.swf/[[DYNAMIC]]/45121

  • External Swf on Android Air and IOS Air

    Hello
    Can android AIR and IOS AIR app download and play external SWF with code inside?
    I have created android AIR app(SDK version 4.0) which load external swf with simple movie clip on the scene.
    var loader:Loader=new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaded);
    loader.load(new URLRequest("2.swf"));
    function onLoaded(e:Event):void
         addChild(loader);
    I have installed this android AIR app on device but i do not see external swf on the scene.
    Thanks in advance

    So for ios as3 code must be like this one.?
    var _urlRequest:URLRequest = new URLRequest("2.swf");
    var _loader:Loader = new Loader();
    var _lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
    _loader.load(_urlRequest, _lc);
    addChild(_loader);
    One more question: How exactly  i can add the external swf to the included files?
    Can you give link with information or some sample? Also, does it work on Android Air?
    If you have sample for ios Air or for Andoid Air i will be very appreciative.
    Sorry for my english.

  • [ISSUE] Load external .swf into an AIR for iOS app

    I want to load an external .swf which is included theme objects of the application. The loader class finishes loading but after this when I try to get objects in the swf I get this error.
    Device is iPad v.2 iOS v5.1.
    ReferenceError: Error #1065: Variable MenuHome is not defined.
        at adaptive.controls.thememanager::ApplyTheme/applyStyle()[D:\ConsumerProductInterface\Consu merProductBusiness\src\adaptive\controls\thememanager\ApplyTheme.as:41]
        at adaptive.controls.thememanager::ApplyTheme/apply()[D:\ConsumerProductInterface\ConsumerPr oductBusiness\src\adaptive\controls\thememanager\ApplyTheme.as:54]
        at adaptive.controls.thememanager::ThemeManagerSystem/checkIfAllLoaded()[D:\ConsumerProductI nterface\ConsumerProductBusiness\src\adaptive\controls\thememanager\ThemeManagerSystem.as: 139]
        at adaptive.controls.thememanager::ThemeManagerSystem/backgroundImageLoadHandler()[D:\Consum erProductInterface\ConsumerProductBusiness\src\adaptive\controls\thememanager\ThemeManager System.as:119]
        at adaptive.controls.thememanager::ThemeManagerSystem/backgroundImageLoadHandler()
        at flash.events::EventDispatcher/dispatchEvent()
        at adaptive.controls.thememanager::ThemeManagerImageLoader/loadImageCompleteHandler()[D:\Con sumerProductInterface\ConsumerProductBusiness\src\adaptive\controls\thememanager\ThemeMana gerImageLoader.as:60]
        at adaptive.controls.thememanager::ThemeManagerImageLoader/loadImageCompleteHandler()
        at flash.events::EventDispatcher/dispatchEvent()
        at adaptive.controls.imageloader::ImageLoader/imageCompleteHandler()[D:\ConsumerProductInter face\ConsumerProductControls\src\adaptive\controls\imageloader\ImageLoader.as:32]
        at adaptive.controls.imageloader::ImageLoader/imageCompleteHandler()
    Steps are:
    1- Create a .fla file and one object in it (like below):
    2- In Flash Builder 4.6
    Load the external swf:
                    var swfLoader:Loader = new Loader();
                    var url:URLRequest = new URLRequest("themes/DefaultTheme/DefaultTheme.swf");
                    var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
                    swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
                    swfLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
                    swfLoader.load(url, loaderContext);
            private function completeHandler(event:Event):void
                var evt:LoadThemeSWFEvent = new LoadThemeSWFEvent(LoadThemeSWFEvent.COMPLETE);
                if (AdaptiveHelper.getInstance().platform == PlatformType.DESKTOP)
                    evt.swfLoader = SWFLoader(event.currentTarget);
                else
                    evt.loader = Loader(event.currentTarget.loader)
                dispatchEvent(evt);
              // load is OK
            private function ioErrorHandler(event:IOErrorEvent):void
    After load is complete I tried to get the object from the swf file and use it as a skin class of a button.
    cssSelector.setStyle(property, Class(content.loaderInfo.applicationDomain.getDefinition("MainMenu")));
    I am stuck here. Any ideas what the problem is?
    My Best,
    Suat

    Hi Suat,
    Can you send me a sample application  @[email protected] with which I can reproduce your problem and can look into the issue?
    Thanks,
    Nimisha

  • Adobe AIR 3.7 - iOS run error

    Hi,
    I have set up a simple project to test the latest release of Adobe Air 3.7 which allow loading external swf with bytecode inside.
    The project use the krpano_as3_interface, load the main krpano.swf, and after a simple xml file.
    Building and running in iOs SImulator using my Flex IDe works fine, the panorama load.
    Building and trying runnig on an iOs Device connected with USB doesn't works.
    I get this error :
    Trying to connect to Player
    Player connected; session starting.
    [trace] krpano_load
    [trace] krpano_load_complete
    [Fault] exception, information=Error: Error #3747: Multiple application domains are not supported on this operating system.
    Following this blog article, http://blogs.adobe.com/airodynamics/2012…ir-apps-on-ios/, i correctly load krpano swf file. But it seems that adding krpano content on stage is not possible.
    Any idea ?
    [code]
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   applicationDPI="160"
                   applicationComplete="krpano_load()"
                   width="100%" height="100%" usePreloader="false"
            >
        <fx:Script>
                        <![CDATA[
            import mx.core.UIComponent;
            import mx.events.FlexEvent;
            import mx.core.FlexGlobals;
            import mx.events.ResizeEvent;
            import flash.system.Security;
            import krpano_as3_interface;
            public var krpano:krpano_as3_interface = null;
            public var area:Object;
            public var _krpano:*;
            public function krpano_load():void
                trace("krpano_load");
                var loaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
                loaderContext.allowLoadBytesCodeExecution = true;
                loaderContext.allowCodeImport = true;
                var krpanoloader:Loader = new Loader();
                krpanoloader.contentLoaderInfo.addEventListener(Event.COMPLETE, krpano_load_complete);
                krpanoloader.load(new URLRequest("./krpano.swf"), loaderContext);
            public function krpano_load_complete(event:Event):void
                trace("krpano_load_complete");
                (event.target.content as Object).embeddedstartup(stage, krpano_ready);
                _krpano = (event.target.content as Object);
            public function krpano_ready(krpanointerface:krpano_as3_interface):void
                trace("krpano_ready");
                krpano = krpano_as3_interface.getInstance();
                krpano.call("showlog(true);");
                area = krpano.get("area");
                area.x      = 0;
                area.y      = 0;
                area.width  = stage.stageWidth;
                area.height = stage.stageHeight;
                krpano.call("loadpano(./krpano.xml,null,MERGE,BLEND(1));");
            ]]>
              </fx:Script>
    </s:Application>

    The error #3747: "Multiple application domains are not supported on this operating system." occurs when the Applicationdomain is not set to currentDomain. Can you please debug if the ApplicationDomain is getting set to currentDomain rather than the default one?
    Thanks,
    Nimisha

  • External SWF slow on iOS device.

    Hi! I would like some advice for loading external SWF on iOS devices because it is very slow, and also sometime when I load external SWF there is always message 'Uncompiled ActionScript' showing. Please tell me how to avoid this msg.

    This is not Adobe Air limitations. This also affect on any software. Android don't have such issues.
    In your case - you can use external assest but only if you link external files as I said above. Adobe Air during compilation will rip source code from SWF and embed it to the app. Your server files can be used for app. Read this more details http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios

Maybe you are looking for

  • What adaptor do I need for MacBook Pro A1226?

    Hi, I have a MacBook Pro model number A1226 - from late 2007 I think. It's a 15". I need a power adaptor for it as I got it second-hand and it didn't come with an adaptor. Can anyone help me out with what adaptor I need, and ideally including the ada

  • Convert Word Doc to PDF - font in Excel object is changed

    Hi, I have tried to convert a word document to PDF. The document has an Excel object embedded. In the PDF file created by acrobat.com, the font in Excel object was changed (no longer Times News Roman). Can someone please contact me and give it a try?

  • Exporting - what settings should I use?

    I am wanting to send pictures to a publishing / printing company who will use them for prints which they will sell to their customers. I use Lightroom 4.1. I would appreciate some advice about the settings I should use in the Export window. Question1

  • Create Run And Stop Buttons on Front Panel, rather than using the toolbar run/stop

    I would like to make my vi more user friendly by creating start and stop buttons on the front panel. I havent found much info on how to create them. I have created a boolean stop button to stop my FOR LOOP. -Chris

  • I cannot get my airport to connect with my pc

    i have purchased an airport and just tried to hook it up.  I have followed everything and also set the airport about ten feet from the router and it sill won't connect -  help - thanks! Also, wanted to mention that I have an Apple TV connected at the