Loading AIR apps as sub-applications into another AIR app?

Hi,
Does anyone know if it is possible to load other AIR applications into a parent AIR application as sub-applications?  It seems I run into the following error when I attempt this:
Error: Only Application content can access the NativeApplication object.
    at flash.desktop::NativeApplication$/get nativeApplication()
    at mx.core::WindowedApplication()
    at com.xyz::BaseClass()
    at com.xyz.ParentClass()
    at _com.xyz.ParentClass_mx_managers_SystemManager/create()
    at mx.managers::SystemManager/initializeTopLevelWindow()
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()
    at mx.managers::SystemManager/docFrameListener()
Thanks,
Bill

Thank you very much Alex!
Then it means that we run out of memory in Flash Player. Is there any way to allocate more memory for Flash Player
(we are using FP 10.1) to prevent out-of-memory browser crash?
Thanks again,
_Ilya

Similar Messages

  • How to include jsps's of one application into another

    Hi people,
    I want to include a jsp from one web application into another. I have specified in the web.xml in Tomcat/conf directory that both the applications are "crosscontext=true". But tomcat fails to include the jsp from the other web application. It always tries to look for that resource with respect to the context of the current application.
    Any idea how do I go about it. Any suggestion will be greatly appreciated.
    Thanks,
    Subhadeep De.

    In the standard Sun JSTL tag library there is a tag that will include the output of the jsp in your jsp. I beleive the tag is called "include" or "import" but I forget the exact name. I also believe that you'll have to pass any needed parameters.

  • Calling one application into another

    how can i call one application file into another so that
    session should not expire in any way
    Has anyone done such like that

    Put the code into a cfc or custom tag and have both
    applications call it as required.

  • Load swf created by Xcelsuis 2008 into another Flash by loadClip

    I have a problem to load the swf file created by Xcelsuis 2008 into another empty flash file by using the function loadClip.  It works on the swf created by Xcelsuis 4.5 pro .   Could Anyone give me some suggestions.  Is there another method to load the swf into another Flash?
    Thanks a lot!

    publish the one that doesnt work to AS2 and see

  • Creating an app that can load other apps?

    I have a SWf application built in flex 4. One part of the application relies on accessing a public variable ("step1") set at the application root, and is accessed with
    var app:Object = FlexGlobals.topLevelApplication;
    trace("step one is "+app.step1);
    This, while not optimal, has worked fine. Now, hoever, I need to load this entire application into another application, and I can't figure out how to access my step1 variable any longer.
    I have been loading the swf into the new parent application like so:
    public var myLoader:Loader = new Loader();  
    public var pizzaContainer:UIComponent = new UIComponent();
    private var myUrl:URLRequest = new URLRequest("chickensoup.swf");
    protected function application1_creationCompleteHandler(event:FlexEvent):void {
       myLoader.load(myUrl);                                  
       pizzaContainer.addChild(myLoader);               
       addElement(pizzaContainer);
    And I have tried using FlexGlobals.topLevelApplication.pizzaContainer to no avail. What would be the method of acessing a public variable at the root of the loaded application?

    You can try to use a non-Flex swf to load the Flex SWF, but the non-Flex SWF won’t “go away”.  But Application.application should still be the Flex swf.

  • Replicate All Service Application into two Application Servers

    Hi All,
    I want to replicate all the service applications into another application server in order to configure HA.
    we are having two servers having single farm.
    Please Help..!!

    Install SharePoint on server 2
    Join Server 2 to the farm
    Activate the services on server 2.
    http://technet.microsoft.com/en-us/library/ee704549(v=office.14).aspx
    Most service applications can be run on multiple servers (and are designed to). The exception is the User Profile Application Synchronisation Service, which can only run on one server in a farm at a time.

  • GetURL not working when swf is loaded into another swf

    Ok, I need some help for something relatively simple which
    for some reason I've not been able to find any information on at
    all?
    Hopefully it will be something easy to fix.
    Essentially I have the following:
    my main movie "Home.swf"
    another movie "Sub.swf"
    I've loaded "Sub.swf" into "Home.swf" via an empty movieclip.
    Within "Sub.swf" I have some links which when clicked call
    getURL and open a HTML page in the browser.
    But for some reason the getURL isn't working and I believe
    its because the getURL is called from a loaded movie within
    "Home.swf".
    I've tried changing the actionscript to:
    _root.getURL('/mypage.html');
    _parent.getURL('/mypage.html');
    but neither (_root / _parent) seems to work?
    Need help here please.
    Many thanks.
    Kind regards,
    M.

    Hi kglad,
    Yes the button is definitely firing ok.
    In the "Sub.swf" movie, on the second frame of the timeline
    (the first frame is some preloader code) there is the following
    code:
    imgMC.mascara.onPress = function() {
    //trace('mc[activo] = ' + mc[activo]);
    switch(mc[activo])
    case _level0.imgMC.MC0:
    trace('0 - ' + mc[activo])
    break;
    case _level0.imgMC.MC1:
    trace('1 - ' + mc[activo])
    break;
    case _level0.imgMC.MC2:
    trace('2 - ' + mc[activo])
    break;
    case _level0.imgMC.MC3:
    trace('3 - ' + mc[activo])
    break;
    case _level0.imgMC.MC4:
    trace('4 - ' + mc[activo])
    break;
    case _level0.imgMC.MC5:
    trace('5 - ' + mc[activo])
    break;
    If I run this movie in Flash (ctrl-enter) then the trace
    works fine.
    But the trace stops working when I run the main "Home.swf"
    movie in Flash (ctrl-enter) when the "Sub.swf" is loaded into an
    empty movie clip.
    And when I change the trace for a getURL and test in a
    browser it still doesn't work?
    What do you reckon?
    Thanks.
    M.

  • I downloaded google translate and another app that allows you to speak into the microphone and it translates what you said into another language. The microphone on both programs says "speak now" and after I speak it doent do anything. How do I get the mic

    I downloaded google translate and another app that allows you to speak in the microphone and it translates what you said into another language. Both apps say "speak now" into the microphone but when I speak it doesnt do anything. How do I get the microphone to work on these applications?

    What mic/iPod are you using?
    Does the mic work for other apps?

  • Can it be done (drill into another application seamlessly from dashboard)

    Is it possible to drill from a BI EE Dashboard report directly into another non-Oracle web based application? For instance, we move budget data at a summarized level into our data warehouse, which is available as a report in BI EE. If the user wants to see more granular detail, I'd like ot allow them to click a link and automatically log them into the web app by passign their ID and password in the url for the separate web application.
    Note that their ID and Password for BI EE and the web application are identical.

    Yes you can achieve by passing required parameters to underlying report through url parameters.
    Following links will help you in achieving this.
    http://download.oracle.com/docs/cd/E12096_01/books/AnyWebAdm/AnyWebAdm_APIWebIntegrate6.html
    http://sureshotstrategies.wordpress.com/2008/12/13/integrating-oracle-obiee-content-using-go-url-syntax-2/
    Thanks
    Srini

  • Clone my exacting oracle apps 11i into another box

    Hi,
    I want to clone my exacting oracle apps 11i into another box.
    Bellow, I am describing current setup:
    OS: Solaris 9
    Application Version: 11.5.7
    Database version: 8.1.7
    Single Node Installation on Sun Cluster (Active / Passive Mode)
    Node 1 Host name: orafin1 (10.1.1.33)
    Node 2 Host Name: orafin2 (10.1.1.34)
    Virtual Host Name: orafin (10.1.1.35)
    Now we want to clone exiting apps on another sun box on bellow setup:
    OS: Solaris 10 (64 Bit)
    Stand Alone cloning with out Sun Cluster.
    Please suggest me , solution about above scenarios.
    Thanks
    Anup

    Dear All,
    One of my previous apps dba suggested me how to do manuall cloning, I have 11.5.10.2 but it is upgraded from 11.5.9, though it is autoconfig enabled but rapid clone has errors and I dont want to touch the Source Production system, my steps will be like this , please correct me if I am wrong.
    1. Copy dbTier - rdbms home to target system
    if (hot backup use rman backup)
    2. copy appsTier to Target system
    On Target System.
    3. set ORACLE_SID, ORACLE_HOME
    run rman target /
    restore controlfile
    mount the database and restore database and recover.
    alter database open resetlogs
    alter tablespace temp add datafile
    shutdown immediate;
    startup.
    4. connect apps/apps
    exec fnd_conc_clone.setup_clean;
    commit;
    exit;
    5. change dbTier context file
    change the host name to Target hostname
    run autoconfig :
    cd /u2/oracle/proddb/9.2.0/appsutil/bin
    adconfig.sh contextfile=conext_file appspass=apps
    6. run autoconfig on appsTier
    cd /u2/oracle/prodappl/ad/11.5.0/bin
    adconfig.sh contextfile=context_file appspass=apps
    Mohammed Vilayath Ali

  • Major performance issue: AIR browser is slow to load AJAX app & kills CPU

    Hello,
    This issue for so long. I tried to submit a ticket that was erased.
    Here's someone else talking about that topic: http://forums.adobe.com/message/3896291#3896291
    My question - Is there a solution ahead or I have to wait patiently that all my clients uninstall the application?

    The bug referenced in that thread, AIR browser is slow to load AJAX app, is still open/to track.  Based off the notes from Jian on Nov 6th, we've been able to reproduce the issue but it does not have enough votes to qualify for our current releases.  We need additional users to cast their votes that this is impacting their applications. 
    There is a note on November 11th, that suggests that removing inset box shadows can resolve this issue in some cases.  This is most likely similar to other known bugs where -webkit-box-shadow impacts performance on Windows.  All cases have been deferred at this time as the solution is not trivial to address (I've personally entered this bug at least twice.)
    Chris

  • Error while loading image from Windows Phone gallery into my Unity application

    Hi,
    I have developped a Windows Phone plugin for my Unity application which enable me to open the Windows Phone gallery in order to select an image and get its physic path.
    I've used this path to load the image in the application with a WWW object but I get this error
    "Error. Operation has failed with error 0x80070005: access is denied."
    The path is correct because I display it and I've ticked the ID_CAP_MEDIALIB_PHOTO in the WMAppManifest.xml (Capabilities tab).
    Here is my Unity C# test code to load the image with the path.
    IEnumerator loadImage()
    this.guiText.text = filePath;
    WWW www = new WWW(filePath);
    yield return www;
    if(www.error == null)
    GameObject texture = GameObject.Find("UNITY");
    if(texture != null)
    texture.guiTexture.texture = www.texture;
    Any help would be appreciated ! Thanks in advance !

    The error is correct. Your app doesn't have direct access to that path. It can directly load files only from its app data and install directories.
    To load from the libraries I it needs to use the StorageFile to get brokered access.
    The easiest way may be to copy from the library to local data then use WWW to load that. Otherwise you'll probably need to wrap the StorageFile can for use in unity. Unity has such a wrapper in the Unity Engine.WSA namespace that you can try

  • How to load data from one Infobject into another in the same system??

    Hello All,
       i need to load hierarchy data (already existing in 1 Infobject) into another newly created Infobject in the same BW system.Is there a way to do it without involving flat files??
    Thanks soo much in advance
    Regards,
    Priya

    hi
    say there are two infoobjects X  and Y.
    X is existing infoobject and Y in new one.
    go to infosurce-search for X-create export datasource - map the rules and load the data.
    This is one way.
    Other way is u can use X as a reference object of Y so that both of them have same structure and both objects will share common database tables in BW which are exsting for X.
    Hope this helps.
    Kindly assign the points if it helps.

  • Textbox shows xml text in working file but now when loaded into another SWF

    Hi all,
    I have downloaded an xml gallery (as2) as we needed one for an old as2 file. Now I mostly use as3 but thought as I only needed to tweak it there would be no probs. Of course, it rarely works out that way. The problem is, text loaded from the xml file is displayed with its corresponding image. This works fine in the file. When I load the SWF into another SWF however, it all works EXCEPT the text doesn't show at all?? Whoever made the gallery used 'device fonts' in the textbox, I don't know if this has anything to do with it. I tried changing the textbox to dynamic and embedding characters but still nothing.
    This seems the key line -
    _root.descmc.desc.htmlText = XMLdaten[number];
    I have also tried
    _root.descmc.desc.htmlText = XMLdaten[number].firstChild;
    This traces out the correct xml data when tested so it is finding it okay.
    Any help would be much appreciated.
    Thanks

    The problem might be in the use of the "_root"  You probably need to set _lockroot = true; in the loaded swf, otherwise the _root is that of the loading swf, not the loaded one.

  • Is it possible to load a picture into another picture

    I need to put a  symbol(save as picture A) into another picture(shown on front panel).Is it possible?which  subvi can I use?
    Thank you

    If you actually want to load the pictures from the files while the program is running, you can use the picture VIs (found in the Graphics & Sound palette). They let you load a picture from a file, place it into a container and play around with it. You can easily load 2 pictures and overlay them
    but you will have to know how to this properly. There are probably some examples in the example finder.
    Try to take over the world!
    Attachments:
    pic.GIF ‏4 KB

Maybe you are looking for