AIR App, load externally hosted SWF which loads XML

I am wondering if this is even possible, because I am getting error 2148. 
I am loading in SWF files that are externally hosted into an AIR app.  Everything works great!
Is it possible to have one  of these child SWFs load in some type of XML data or access an XML file on the desktop/tmp?
Or if need be, should I have the AIR app do all the loading (including the other XML) and pass that to the child SWF?
Thanks in advance!
In detail:
AIR app -> Loads SWFs
SWFS -> Load XML
SWF -> displays something or does something RAD!!!
Stuff I have tried:
Ive added an mms.cfg file in the proper places, as well as, changed my adobe security settings to allow access to a "tmp" folder on desktop. The loaded SWF from an external domain loads fine however it still shows an error 2148 when trying to access an XML file within the "tmp" folder on desktop. The SWF when published is also set to "access local files"

I was able to find a workaround of the security sandbox using Loader.loadBytes();
Aleksandar Andreev's Loader class really helped:
http://blog.aleksandarandreev.com/?p=42

Similar Messages

  • AIR app doesn´t recognize SWF files

    Hi
    I have done an AIR app (in Flex). One of the features of it needs external SWF files to be browsed in a text field. Everything has worked very well for couple of years, but now I got a report from a client who uses that app. He says that AIR app doesn´t recognize SWF files anymore. When he clicks browse button, a normal file selection dialog opens but all the SWF files are greyed out.
    He send one SWF file to me and it worked well in my computer/AIR app. Anybody have any idea what may cause that? He has used my app a lot, and two weeks ago it worked normally. He uses mac, not sure whis version, quite new I suppose.

    Hi,
    That's odd that this just started occurring for the customer.  A couple of things come to mind, first, are you using FileFiters when you call browseForOpen()?  If you are, could you try a test where you remove them and then see if the swf's become enabled?  Do the swf files have extensions on the mac?  If not, try adding them and see if that makes a difference. 
    If you'd like, I can also give this a try since I have both platforms available to me.  Could you attach or email me ([email protected]) some sample code and a sample swf that would illustrate the problem?
    Thanks,
    Chris

  • How do I use transparent=true in my Air app but still displaying swf ?

    How do I use transparent=true in my Air app but still displaying swf's files ?
    The thing is that I created a customized chrome, and looks nice when it is transparent cause seems to be floating, it works as a browser, but the problem is that when I navigate with it into a page wich contains embedded youtube videos, as in example, or any other swf file... it just doesn't show...
    Any help ? thanks in advance,

    Contact iTunes Support: http://www.apple.com/support/itunes/contact/

  • Will AEC ( Acoustic Echo Cancellation ) work in an SWF App that runs inside of an AIR app?

    Hi,
    I was forwarded here in hopes of better understanding the architecture of Flash Player within the AIR environment.
    1) Woulda SWF App compiled to target FP10.3 run in an AIR App that targets FP 9.0 and AIR 2.7?
    * Would FP10.3 specific features work correctly within the AIR app since all the work is happening in the SWF app?
    * Assumption: The user has AIR runtime 3.1 installed( which I assume embeds FP 11 )
    Details:
    * App #1 => is a swf app that targets FP10.3 + LCCS v2.2.0 ( FP 10.3 )
    * App #2 => AIR 2.7 app that target FP 9.0
    Execution Flow:
    * App #2 creates an HTML view, loads the "App #1" within itself and runs it.
    Will the App #1 have AEC working and/or any FP10.3 specific behavior ? Is it OK that the container AIR app is not be targeting FP10.3 ?
    Thanks,
    Alex G.
    PS Original post came from: http://forums.adobe.com/thread/927781

    This question would be better directed to the FlashPlayer and/or AIR forum.
    AIR embeds a version of WebKit to implement the HTML view and I am not sure of what FlashPlayer is used by that "browser" (it could be an embedded FlashPlayer, in which case I am assuming will be the same version of AIR FP, or the FlashPlayer installed at the OS / external browser level, in which case it could possibly be a newer version of the FlashPlayer).
    Best thing to do: try it out
    I would build an AIR app embedding a small SWF that prints out the FlashPlayer version and see what happen changing the targets for the AIR app and the SWF.

  • Application error running air app

    My air app is a sildeshow viewer which sends request to the
    server and represents the response data using chart component.
    I encounter a very tricky problem that when this app runs for
    hours it will get a application error, as air dismiss all the
    exception while running, I can not get the stacktrace. I tried
    debug this app in flex builder, but still got a application error
    from air debug launcher without exception stacktrace. That mean adl
    crashed while I run my app.
    The difficulty is that this error does not always occur. It
    happens usually once a week while running , so I can not get the
    location of the error generated.
    The application error is kind of "memory could not be
    written", so did anyone ever face this problem? And is there any
    suggestion for me? I want to know what kind of exception could
    crash adl.
    Thanks very much, it bothers me a lot.

    This kind of error is bug. If you can capture a crash report
    of some kind (use a web search to find out how to do that for your
    OS) and file it as a bug, that'd be great.
    That said, a common cause with applications that run for a
    long time and use lots of data is that they run out of memory. You
    might check your memory use; if it increases without bound, that's
    a sign that your application is leaking.

  • Loading external swf into Air App

    Hi All,
    I'm building an Adobe Air App for desktop and am having problems loading an external swf. Every time i try to load i get:
    SecurityError: Error #2070: Security sandbox violation........ cannot access Stage owned by app....blah blah
    The file that is being loaded is in a local directory, but as i understand its in a different 'sandbox' which is a security risk.
    Is there any way around this?!
    Any help would be much appreciated
    Many Thanks
    Matt

    that's why i added those comments about the swf's domain.  for locally loaded swfs, use:
    SFMltd wrote:
    Hi Kglad, Thanks for the Example.
    if i run my class with securityDomain = SecurityDomain.currentDomain; then it throws this error: SecurityError: Error #2142: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property.
    The swf file im trying to load is stored locally so i guess this error makes sense. However if i comment out that line i get the same "cannot access Stage owned by app" error?
    See below for class:
    package  {
      import flash.display.MovieClip;
      import flash.filesystem.File;
      import flash.events.Event;
      import flash.net.FileReference;
      import flash.events.MouseEvent;
      import flash.display.Loader;
      import flash.net.URLRequest;
      import flash.system.LoaderContext;
      import flash.system.ApplicationDomain;
      import flash.system.SecurityDomain;
      public class assetPreview extends MovieClip {
      private var loader:Loader;
      private var mainSWF:MovieClip = new MovieClip();
      public function assetPreview() {
      addEventListener(Event.ADDED_TO_STAGE, initialise);
      public function initialise(e:Event):void
      removeEventListener(Event.ADDED_TO_STAGE, initialise);
      var allowSWF:LoaderContext = new LoaderContext(false,ApplicationDomain.currentDomain);
    // allowSWF.securityDomain = SecurityDomain.currentDomain;
      loader = new Loader();
      loader.load( new URLRequest(settingsXML.pathToSWF),allowSWF);
      loader.contentLoaderInfo.addEventListener(Event.COMPLETE, viewPreview);
      public function viewPreview(e:Event):void
      addChild(mainSWF);
      mainSWF.addChild(loader);

  • Air 1.0, Externally Loaded SWF Accessing Camera

    Hello.
    I am building a touch screen kiosk Air App using Flash CS3 and Air 1.0.
    I have my application downloading external SWFs for different advertisements, one of which will need access to the webcam built into the kiosk.
    By itself, the advertisement accesses the camera just fine, however Camera.getCamera() returns null when it the SWF loaded into the kiosk app. Both the main kiosk app and the advertisement app are compiled using Air 1.0.
    It appears that I'm getting a security sandbox violation, however I'd like to avoid completely rewriting my app using the sandbox bridge architecture just so one of my ad pieces can access a webcam.
    Does anyone have any suggestions or know of any work-arounds for allowing webcam accesss from within an embedded SWF in Air?
    Would upgrading to CS5 / Air 2.5 help?
    Thanks for any resposes.
    -John Berman

    I was able to find a workaround of the security sandbox using Loader.loadBytes();
    Aleksandar Andreev's Loader class really helped:
    http://blog.aleksandarandreev.com/?p=42

  • Flash AIR app cannot load child swfs on publish to device

    I have been struggling with this problem for WEEKS now and can't solve it. I have an flash AIR app (creative cloud, AIR 3.8) which is very simple: all it does is load external SWF movies on the click of a start button. It works FINE in test/PC but when I publish to device, the external swfs do not load.
    Here is the code on the main timeline that calls the external swfs:
    //start button
    start_button_TRI_desmatosuchus.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_02_3,false,0,true);
    import fl.display.ProLoader;
    import flash.events.Event;
    var fl_ProLoader_02:ProLoader;
    var fl_ToLoad_02:Boolean = true;
    function fl_ClickToLoadUnloadSWF_02_3(event:MouseEvent):void
              if(fl_ToLoad_02)
                        fl_ProLoader_02 = new ProLoader();
                        fl_ProLoader_02.load(new URLRequest("dinofilms/triassic_desmatosuchus.swf"));
                        fl_ProLoader_02.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_02 )
                        addChild(fl_ProLoader_02);
                        fl_ProLoader_02.x = 0;
                        fl_ProLoader_02.y = 144;
              else
                        if (fl_ProLoader_02!=null) {
                                  removeChild(fl_ProLoader_02);
                                  fl_ProLoader_02.unloadAndStop();
                                  fl_ProLoader_02 = null;
              fl_ToLoad_02 = !fl_ToLoad_02;
    function onComplete_02(e:Event):void {
              e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_02);
    function OEF_02(e:Event):void {
              if (e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
                        e.currentTarget.stop();
                        e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_02);
                        removeChild(fl_ProLoader_02);
                        fl_ProLoader_02.unloadAndStop();
                        fl_ProLoader_02 = null;
    I am calling about 30 different movies on 30 different frames, so that's why I am using tags like "proLoader_01" so I don't duplicate them. All the external swfs are of course listed in the included files too.
    I would really appreciate the assistance, I am a reluctant coder!
    Message was edited by: Fiona Passantino

    OK, I replaced all the "ProLoader" instances with "Loader" and I am getting an error, below (see***)
        //start button
        start_button_TRI_coelophysis.addEventListener(MouseEvent.CLICK,
        fl_ClickToLoadUnloadSWF_01_3,false,0,true);
        import fl.display.Loader; **HERE, ERROR IS: 1172 fl.display:Loader could not be found**
        import flash.events.Event;
        var fl_Loader_01:Loader;
        //This variable keeps track of whether you want to load or unload the SWF
        var fl_ToLoad_01:Boolean = true;
        function fl_ClickToLoadUnloadSWF_01_3(event:MouseEvent):void
         if(fl_ToLoad_01)
              fl_Loader_01 = new Loader();
              fl_Loader_01.load(new URLRequest("dinofilms/triassic_coelophysis.swf"));
              fl_Loader_01.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_01)
              addChild(fl_Loader_01);
              fl_Loader_01.x = 0;
              fl_Loader_01.y = 144;
         else
              if(fl_Loader_01!=null) {
                   removeChild(fl_Loader_01);
                   fl_Loader_01.unloadAndStop();
                   fl_Loader_01 = null;
         fl_ToLoad_01 = !fl_ToLoad_01;
        function onComplete_01(e:Event):void {
         e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_01);
        function OEF_01(e:Event):void {
         if(e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
              e.currentTarget.stop();
              e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_01);
              removeChild(fl_Loader_01);
              fl_Loader_01.unloadAndStop();
              fl_Loader_01 = null;

  • Unable to load external swf which has runtime sharing with another swf.

    Hi,
    I am getting issues on loading external swf say "importer.swf" file into another swf file say "loader.swf" for second time like
    ReferenceError: Error #1065: Variable testSymbol is not defined. VerifyError: Error #1014: Class testClass could not be found.
    at global$init()
    In the external swf "importer.swf", i am trying to import the symbol "testSymbol" from another swf file say "exporter.swf", which exports through runtime sharing option for the symbols.
    I am having some buttons in loader.swf file and on each button click i am loading different swf files into the loader.swf after unloading the previous one.
    I am able to load and unload different swf files but unable to load the importer.swf file which is sharing symbols from external swf and that too for the second time i.e., when i click the button twice.
    When trying to debug with flash debugger, all the other swf files are being unloaded before loading of another swf but the swf which is sharing symbols/classes with another swf is not getting unloaded.
    Output when i am trying to load two files example and importer files into loader.swf file on two different button clicks. On first button click example.swf is loaded. On second button click , example.swf is unloaded and importer.swf is loaded which is successful. On first button click again importer.swf is unloaded and example.swf is loaded. On second button click again, example.swf is unloaded and importer.swf is loaded, here i am getting issues shown above.
    Attemping to launch and connect to Player using URL D:\runtime issue\loader.swf
    [SWF] D:\runtime issue\ loader.swf - 8181 bytes after decompression
    [SWF] D:\runtime issue\example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    [SWF] D:\runtime issue\importer.swf - 441708 bytes after decompression
    [SWF] D:\runtime issue\ example.swf - 441708 bytes after decompression
    [UnloadSWF] D:\runtime issue\ example.swf
    [SWF] D:\runtime issue\importer.swf - 1920 bytes after decompression
    ReferenceError: Error #1065: Variable xxxxxx is not defined.
    Debug session terminated.
    Code i am using
    b1.addEventListener(MouseEvent.CLICK, b1Clicked);
    b2.addEventListener(MouseEvent.CLICK, b2Clicked);
    var ldr:Loader;
    function b2Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("importer.swf"));
        addChild(ldr);
    function b1Clicked(e:MouseEvent)
        if(ldr != null)
            ldr.unloadAndStop(true);
        ldr = new Loader();
        ldr.load(new URLRequest("example.swf"));
        addChild(ldr);
    If i try to open the swf using IE, i am not getting any issues at all. But i need to open this loader.swf in a air application. Also when i use loaderContext for the loader instance i am able to get rid of this issue but i cant use it in my application.
    So, please help me in resolving this issue.
    Thanks

    I got my answer. I had to append the photo url to the 'movie' value of the javascript embed method. Like this:
    <script language="JavaScript" type="text/javascript">
       AC_FL_RunContent(
          'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
          'width', '550',
          'height', '400',
          'src', 'lesson2',
          'quality', 'high',
          'pluginspage', 'http://www.adobe.com/go/getflashplayer',
          'align', 'middle',
          'play', 'true',
          'loop', 'true',
          'scale', 'showall',
          'wmode', 'window',
          'devicefont', 'false',
          'id', 'lesson2',
          'bgcolor', '#ffffff',
          'name', 'lesson2',
          'menu', 'true',
          'allowFullScreen', 'false',
          'allowScriptAccess','always',
          'movie', 'lesson2?photo=http://www.flash-mx.com/images/image1.jpg',
          'salign', ''
          ); //end AC code
    </script>
    Thanks,
    srb.

  • How to unload externally loaded swf which contains 3D Carousel?

    Hello to all
    I am learning AS3 and have been taking on various tutorials found on the net. While learning about AS3 I came across a lesson on http://tutorials.flashmymind.com/2009/05/vertical-3d-carousel-with-actionscript-3-and-xml/ titled "Vertical 3D Carousel with AS3 and XML".
    I completed the tutorial and all worked fine so I then wanted to load the swf into a existing project. The loading of the swf goes fine and when I unload my loader it is removed but only visually as in my output panel in flash CS5 I get an error as follows
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at carousel_c_fla::MainTimeline/moveCarousel()
    this error repeats over and over again slowing my swf movie.
    So does this mean my main flash movie trying to still play / find my unloaded 3D Carousel?
    If so how do I unload remove all the AS3 that is trying to run from the 3D Carousel?
    I have included the AS3 below from the tutorial page and I understand that this is what I have to remove to "break free" from the 3D Carousel swf when it is unloaded. This is where I am stuck as my knowledge of AS3 is limited - Can you guys / girls help?
    //Import TweenMax
    import com.greensock.*;
    //The path to the XML file (use your own here)
    // old var from tutorial - var xmlPath:String = "http://tutorials.flashmymind.com/XML/carousel-menu.xml";
    var xmlPath:String = "carousel-menu.xml";
    //We'll store the loaded XML to this variable
    var xml:XML;
    //Create a loader and load the XML. Call the function "xmlLoaded" when done.
    var loader = new URLLoader();
    loader.load(new URLRequest(xmlPath));
    loader.addEventListener(Event.COMPLETE, xmlLoaded);
    //This function is called when the XML file is loaded
    function xmlLoaded(e:Event):void {
         //Make sure that we are not working with a null variable
         if ((e.target as URLLoader) != null ) {
              //Create a new XML object with the loaded XML data
              xml = new XML(loader.data);
              //Call the function that creates the menu
              createMenu();
    //We need to know how many items we have on the stage
    var numberOfItems:uint = 0;
    //This array will contain all the menu items
    var menuItems:Array = new Array();
    //Set the focal length
    var focalLength:Number = 350;
    //Set the vanishing point
    var vanishingPointX:Number = stage.stageWidth / 2;
    var vanishingPointY:Number = stage.stageHeight / 2;
    //We calculate the angleSpeed in the ENTER_FRAME listener
    var angleSpeed:Number = 0;
    //Radius of the circle
    var radius:Number = 128;
    //This function creates the menu
    function createMenu():void {
         //Get the number of menu items we will have
         numberOfItems = xml.items.item.length();
         //Calculate the angle difference between the menu items (in radians)
         var angleDifference:Number = Math.PI * (360 / numberOfItems) / 180;
         //We use a counter so we know how many menu items have been created
         var count:uint = 0;
         //Loop through all the <button></button> nodes in the XML
         for each (var item:XML in xml.items.item) {
              //Create a new menu item
              var menuItem:MenuItem = new MenuItem();
              //Calculate the starting angle for the menu item
              var startingAngle:Number = angleDifference * count;
              //Set a "currentAngle" attribute for the menu item
              menuItem.currentAngle = startingAngle;
              //Position the menu item
              menuItem.xpos3D = 0;
              menuItem.ypos3D = radius * Math.sin(startingAngle);
              menuItem.zpos3D = radius * Math.cos(startingAngle);
              //Calculate the scale ratio for the menu item (the further the item -> the smaller the scale ratio)
              var scaleRatio = focalLength/(focalLength + menuItem.zpos3D);
              //Scale the menu item according to the scale ratio
              menuItem.scaleX = menuItem.scaleY = scaleRatio;
              //Position the menu item to the stage (from 3D to 2D coordinates)
              menuItem.x = vanishingPointX + menuItem.xpos3D * scaleRatio;
              menuItem.y = vanishingPointY + menuItem.ypos3D * scaleRatio;
              //Add a text to the menu item
              menuItem.menuText.text = item.label;
              //Add a "linkTo" variable for the URL
              menuItem.linkTo = item.linkTo;
              //We don't want the text field to catch mouse events
              menuItem.mouseChildren = false;
              //Assign MOUSE_OVER, MOUSE_OUT and CLICK listeners for the menu item
              menuItem.addEventListener(MouseEvent.MOUSE_OVER, mouseOverItem);
              menuItem.addEventListener(MouseEvent.MOUSE_OUT, mouseOutItem);
              menuItem.addEventListener(MouseEvent.CLICK, itemClicked);
              //Add the menu item to the menu items array
              menuItems.push(menuItem);
              //Add the menu item to the stage
              addChild(menuItem);
              //Assign an initial alpha
              menuItem.alpha = 0.3;
              //Add some blur to the item
              TweenMax.to(menuItem,0, {blurFilter:{blurX:1, blurY:1}});
              //Update the count
              count++;
    //Add an ENTER_FRAME listener for the animation
    addEventListener(Event.ENTER_FRAME, moveCarousel);
    //This function is called in each frame
    function moveCarousel(e:Event):void {
         //Calculate the angle speed according to mouseY position
         angleSpeed = (mouseY - stage.stageHeight / 2) * 0.0002;
         //Loop through the menu items
         for (var i:uint = 0; i < menuItems.length; i++) {
              //Store the menu item to a local variable
              var menuItem:MenuItem = menuItems[i] as MenuItem;
              //Update the current angle of the item
              menuItem.currentAngle += angleSpeed;
              //Calculate a scale ratio
              var scaleRatio = focalLength/(focalLength + menuItem.zpos3D);
              //Scale the item according to the scale ratio
              menuItem.scaleX=menuItem.scaleY=scaleRatio;
              //Set new 3D coordinates
              menuItem.xpos3D=0;
              menuItem.ypos3D=radius*Math.sin(menuItem.currentAngle);
              menuItem.zpos3D=radius*Math.cos(menuItem.currentAngle);
              //Update the item's coordinates.
              menuItem.x=vanishingPointX+menuItem.xpos3D*scaleRatio;
              menuItem.y=vanishingPointY+menuItem.ypos3D*scaleRatio;
         //Call the function that sorts the items so they overlap each other correctly
         sortZ();
    //This function sorts the items so they overlap each other correctly
    function sortZ():void {
         //Sort the array so that the item which has the highest
         //z position (= furthest away) is first in the array
         menuItems.sortOn("zpos3D", Array.NUMERIC | Array.DESCENDING);
         //Set new child indexes for the item
         for (var i:uint = 0; i < menuItems.length; i++) {
              setChildIndex(menuItems[i], i);
    //This function is called when a mouse is over an item
    function mouseOverItem(e:Event):void {
         //Tween the item's properties
         TweenMax.to(e.target, 0.1, {alpha: 1, glowFilter:{color:0xffffff, alpha:1, blurX:60, blurY:60},blurFilter:{blurX:0, blurY:0}});
    //This function is called when a mouse is out of an item
    function mouseOutItem(e:Event):void {
         //Tween the item's properties
         TweenMax.to(e.target, 1, {alpha: 0.3, glowFilter:{color:0xffffff, alpha:1, blurX:0, blurY:0},blurFilter:{blurX:1, blurY:1}});
    //This function is called when an item is clicked
    function itemClicked(e:Event):void {
         //Navigate to the URL that's assigned to the menu item
         var urlRequest:URLRequest=new URLRequest(e.target.linkTo);
         navigateToURL(urlRequest);

    Hi Ned thanks for the reply,
    Ok so I have a button in my main movie that loads the external swf
    stop();
    var my_loader:Loader = new Loader();
    var my_btn:Button = new Button();
    var my_pb:ProgressBar = new ProgressBar();
    my_pb.source = my_loader.contentLoaderInfo;
    my_btn.addEventListener(MouseEvent.CLICK,startLoading);
    function startLoading(e:MouseEvent):void{
    my_loader.load(new URLRequest("carousel.swf"));
    addChild(my_pb);
    my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, finishloading);
    function finishloading(e:Event):void{
    addChild(my_loader);
    my_loader.addEventListener("killMe",
    killLoadedClip);
    removeChild(my_pb);
    function killLoadedClip(e:Event):void {
    my_loader.removeEventListener("killMe",
    killLoadedClip);
    my_loader.unloadAndStop();
    removeChild(my_loader);
    Then I have a button in my loaded swf that closes the loader
    This is spread over 2 frames
    Frame1
    function closeIt(e:MouseEvent):void {
    parent.dispatchEvent(newEvent("killMe"));
    Frame 2
    back_btn.addEventListener(MouseEvent.CLICK, closeIt);
    Frame 2 also holds all the code for the carousel
    Thanks for your time and help in advance people ; )

  • 2.7 HTMLLoader, loading html which loads an AVM1 swf which loads other AVM1 swfs.

    I have not yet had time to test thoroughly, only just discovered the issue and thought I would post in case anyone already had any insights.
    We have an AIR app that loads an .html file into an HTMLLoader. This .html file uses swfobject.js to load an AVM1 .swf (AS2, dev'd by a 3rd party), which in turn loads several of its own child .swf's and configuration .xml files from an assets directory local to the application.
    Prior to AIR version 2.7.1.19610, this worked fine (at least, confirmed correct behaviour when using 2.5.0.16600; so it's possible it was an update in between, but this issue was only noticed after our most recent automatic AIR runtime update).
    After an update of the runtime to this version, the first AVM1 .swf loads ok - it contains a preloader for its children, which reaches 100%, but then blanks out with nothing more happening. Right-clicking results in the context menu displaying "Movie not loaded..." and "About Adobe Flash Player 10.3.183.5".
    Running the .html file outside of the AIR application - that is, doubleclicking and loading directly (in Chrome & IE, at least) - results in the original correct behaviour, so it does not appear to be the Flash Player version.
    Our next step is to build our own AVM1 .swf's to help test, as we don't have great access to the internal workings of the ones being provided by the 3rd party. Without testing in our own AVM1 .swf's, there are no errors thrown that we have been able to see. Will update when we have time to investigate further - for the time-being, we will ensure the client remains using AIR 2.5.

    Hi Chris,
    Thanks - will try and organise some sample code to confirm if and how it's reproducible outside of the project we've found it in, but hurtling towards some deadlines so there might be a brief delay before this is possible. If it's worth adding to bugbase before I can do this, I'm happy to do so, but I'll assume for now it's better to wait.
    The quick response is much appreciated!
    Cheers, John

  • Air app doesn't load with renderMode set Auto

    Adobe Air app is not loading on my customer's Android device with renderMode set to Auto, while it works fine when renderMode set to GPU.
    I guess in Auto mode it tries to set it to Direct and fails.
    I'm using Adobe Air v3.6
    Android device is Polaroid PMID-971C
    Android version is 4.0.3
    Unfortunately, I have limited access to customer's device, but logcat shows the following:
    "Fatal signal 13 (SIGPIPE) at 0x00004de8 (code=0) adobe air"
    Any help or fix would be highly appreciated.

    From the docs that I could find (http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffd.html), it appears that "auto" mode = cpu mode.
    The default value is auto, which currently falls back to cpu mode.
    Is this happening on multiple devices or just the one?  Any chance we could get access to your application to try it out?  If so, could you please open a new bug report on this over at bugbase.adobe.com?  If you'd like to keep your app/code private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others affected can add their comments and votes.

  • Tweens don't work in multiple external AS2 SWFs loaded by AS3 SWF

    When I try to load a single external AS2 SWF in an AS3 parent
    SWF, scripted tweens using the mx.tween class work fine. However,
    when I load two or more external AS2 SWFs, the first will work, but
    in subsequent SWFs the tweens do not animate. Does anyone have a
    solution?
    Related post:
    http://www.actionscript.org/forums/showthread.php3?t=147637

    SymTsb,
    So what is the code to do that? To delete the TWEEN variable?
    easeTime = .5;
    var day_handlerX:Tween = new
    mx.transitions.Tween(daynightlabel_mc, "_x",
    mx.transitions.easing.Regular.easeOut, daynightlabel_mc._x,
    (left_point+daynightlabel_mc_leftDifference), easeTime, true);
    day_handlerX.onMotionFinished = function() {
    trace("day_handlerX="+day_handlerX);
    trace("day_handlerX onMotionFinished triggered");
    delete day_handlerX;
    trace("deleted day_handlerX="+day_handlerX);
    does not work. the TWEEN object is still there.
    Can ADOBE say something??
    AS3 is ...

  • I have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    i have apps loaded on my iPad. they show in the main screen are not available to load documents to in the window list which should appear below the main window. the same apps do appear in the sub window on my other iPad. any ideas?

    From what I can see, unless you're doing things with old versions of Xcode on a Mac (in which case, the solution seems to be to upgrade to the latest version), this seems to e an iTunes issue.
    Accepting that it works fine with another iPad, I suggest trying the following:
    1. Restart the non-working iPad
    2. If that doesn't work, reinstall iTunes. If you're on a Windows PC, I suggest using Control Panel to uninstall all the Apple apps, restarting the PC, and doing a fresh install. If you're using a Mac, a repair permissions might help too.
    iTunes 10.3 is now available, and that may make a difference.

  • AIR app communnicating with External App

    I would like to make my AIR app communicate with another
    application that's running on the desktop. What are the best ways
    to do this?
    Ideally I'm looking to call functions inside the AIR app from
    a separate program, and vice versa. This is in fact possible using
    the ExternalInterface capability, however, this is only available
    when the separate application is an ActiveX container (such as the
    browser), and thus contains the FlashPlayer ActiveX control within
    it. But what if your AS3 application doesn't just run inside the
    FlashPlayer but requires the AIR runtime instead? There doesn't
    seem to be any way that an external app. can talk to an AIR app the
    way it can call functions on the FlashPlayer.
    My reasons for needing this are that while AS3 is great,
    especially for creating an interactive interface, there are still
    some low-level things which must be coded in another language.
    Any thoughts that anyone has on this topic would be greatly
    appreciated.

    Hi Bruce,
    In theory, you can do what you want, but it is an indirect
    way of achieving it, and there are some performance/functional
    issues.
    You can make a windows application that is an ActiveX control
    container, and put the FlashPlayer control inside it. Handle the
    "FlashCall" event in your windows program (this is fired when your
    swf calls a custom external function), and then you can use it to
    load and call whatever .dll function you want.
    In practice, from what I've observed, there are some
    limitations. The graphics performance of the FlashPlayer suffers
    when embedded this way in a Windows app. Also, if you want to call
    into the flashplayer sometimes the function calls fail. Having said
    this, my experience is limited to AS2 implementations; maybe things
    have improved with AS3.
    Anyway, hope this helps. Would be interested to hear your
    observations if you should try this route.
    Ed

Maybe you are looking for

  • Exporting JPG

    Does anyone know if there is a way to eliminate the extra space when you export a file as a jpeg? for example.....I have a document that i use for a business card template and it is 3.5" wide.  When I have an image that I want to use as the backgroun

  • Problem with RFC Communication in BPM

    Hi,    I'm again facing problem with transfer of File->RFC->File scenario.The error in sxmb_moni is given below . <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Request Message Mapping   --> - <SAP:Error xmlns:SAP="http://sap.com/xi

  • How to use RZ10  after I have  imported the langugage package!

    Hi experts!    I meet a problem with T-code RZ10 .  After I have imported the language package with T-code SMLT, then I want to modify the language setting of logon screen , so I go to the T-code RZ10, The proble is that  after I active the new profi

  • Disk Image Password

    Hi, I created an encrypted disk image and assigned it a password. Everything was fine for months; If I wanted to mount the disk image I would be asked for the password. That is what I wanted. I was making up an Appleworks 6 data base last week and th

  • Availability of HTML5 Live streaming tools on Snow Leopard

    I'm looking to stream video as part of my class offerings at the University that I teach at. The Tech Services at our university currently only provides a flash based streaming service, but a large number of my students have iPhones/iPads/etc. I want