How to load applications from another application

Hi All,
         I have three Application in my Flex Project.
         site1.mxml
         site2.mxml
         site3.mxml     these are the Applications not modules.
   this is my Main.mxml application in that what i am doing is.
       <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" currentState="Demo">
    <mx:states>
         <mx:State name="Demo" id="defalutId">
            <mx:AddChild position="lastChild" >
                <mx:SWFLoader source=" site1.swf" width="100%" height="100%"/>
            </mx:AddChild>
        </mx:State>
         <mx:State name="Registration" >
            <mx:AddChild position="lastChild" >
                <mx:SWFLoader source="site2.swf" width="100%" height="100%"/>
            </mx:AddChild>
        </mx:State>
    </mx:states>
</mx:Application>
initially i set currentState is Demo then it will load site1.swf
then now i am in site1.mxml
if i click a button in site1.mxml then i want come out of this and have to load site2.swf application
means i want to set currentState as Registration in Main.mxml
but i am not able to do that. how can i do it .
Can any one help me.
Thanks
Raghu

Are you getting errors?
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

Similar Messages

  • How to call scriptlogic from another application

    Hi
    In BPC 7.0 NW, how would I call scriptlogic defined in another app from my current app. The MDX *RUN:OGIC is not supported. Is there anther way to do this and if so, how?
    Thanks
    L.

    Hi,
    The Script Logic File is assigned to Data Manager Package which in backend will call the process chain.
    So in your case you will be assigning the name of the Script file(in different application), to the DM Package of some other application from where you will be calling the logic.
    The Dynamic Scriptin that case will be as below if you are using FXRESTATEMENT Process chain,
    PROMPT(SELECTINPUT,,,,"%CATEGORY_DIM%,%TIME_DIM%")
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,<Name of App where the>)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/FX_RESTATMENT_LOGIC,LOGICFILENAME,QTYOFRM.LGF)
    Hope this helps,
    regards,
    G.Vijaya Kumar

  • How to call view of one application from another application in SAP UI5?

    Hi,
    I have a main shell application. inside the shell i have called a application project using iframe.
    Now from this project i have to access the view from the shell application. I tried getParent() but it returns null.
    How do i access view which is not in my project and in a different project?

    Yeah view cannot be called independently.
    Here in the above post i am just saying call the interface view.
    which will call the window and first view will be called.
    in the wddoinit of the first view . we will check the interface node and if a particular attribute is set.
    that means call is coming from the comp B then you can fire the plug to next view.
    this will take the user directly to second view.
    but the flow logic then will be as per by comp A only.
    means after view 2 it will go to view 3 like that as you have defined in comp A.
    so you cannot use it as an independent reusable entity.
    thanks
    sarbjeet singh

  • How to load content from the application directory?

    I'm currently working on an AIR desktop application that will be distributed on OSX and Windows. The main applicaiton SWF will load a child swf that has been packaged. When I've attempted to load the child SWF via loader.load() with a URI of "app:\\TheChildContentSWF.swf", the load has failed with an IOError. If I force a copy of the the SWF (in OSX) to the MacOS directory where the executable resides, the child SWF would load. I was a little stumped by this so I decided to check what the nativePath of the application directory was via File.applicationDirectory.nativePath (it turned out to point at the Resources directory). Does the "app://" URI point to different paths when using Loader vs File?
    If so, is there a way to package content so that it is installed in a directory that Loader can recognize without hitting security sandbox issues?
    Visual of the OSX app directory structure (simplified)
    MyApp.app\
         Contents\
              Frameworks\
              MacOS\
                   executable
              Resources\
                   TheAppSWF.swf
                   TheChildContentSWF.swf
                    ... // other content
    Thanks for any help!
    Josh

    When loading application, move the swf to the applicationStorage folder if it doesn't exist already.
    Something like ...
    private var swfDistribute:File = File.applicationDirectory.resolvePath('ResourcesChildContentSWF.swf');
    private var swfLocal:File      = File.applicationStorageDirectory.resolvePath('TheChildContentSWF.swf');
    private function onCreationComplete():void
       if (!swfLocal.exists) {
          if (swfDistribute.exists) {
             swfDistribute.copyTo(swfLocal);
    Then you should be able to call your loader.load() URI with the variable (swfLocal)

  • Load data from one Application to another in BPC NW 7.5

    Hi
    I have a requirement to load data from One application to another application.
    eg. HR Plannning to CostCenter Planning.
    I am aware of a method to load data using transformation file mapping source and target dimensions and run DM package and this works fine.
    However, the challenge is if i try to automate this process then i will have to hardcode the application tech name and save as variant to use that in process chain. Now, if i hardcode the tech name of the application then it might happen that during full optimization the tech name might change and the automation load will fail.
    so how to handle this situation? any standard practices available?
    appreciate your inputs/thoughts.
    Regards.

    Hi,
    Exactly. The main problem is that there is no statement to transfer the data. Please take a look at the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/f4/33f0bbc46c4a53860f1410f20ffb8b/content.htm
    Since the structure of both the applications is same, you dont require add_dim or rename_dim, etc. However, you definitely need the when statement.
    If you want to transfer all the records, then you can have something like
    *WHEN ACCOUNT
    *IS *
        *REC(EXPRESSION = %VALUE%)
    *ENDWHEN
    Hope this helps.

  • How to load data from a  flat file which is there in the application server

    HI All,
              how to load data from a  flat file which is there in the application server..

    Hi,
    Firstly you will need to place the file(s) in the AL11 path. Then in your infopackage in "Extraction" tab you need to select "Application Server" option. Then you need to specify the path as well as the exact file you want to load by using the browsing button.
    If your file name keeps changing on a daily basis i.e. name_ddmmyyyy.csv, then in the Extraction tab you have the option to write an ABAP routine that generates the file name. Here you will need to append sy-datum to "name" and then append ".csv" to generate complete filename.
    Please let me know if this is helpful or if you need any more inputs.
    Thanks & Regards,
    Nishant Tatkar.

  • How to call Oracle form .from another application like VB 6.0

    Dear ALL,
    I want to call oracle(Developer) form ,from another application (VB 6.0).I want to call the form in such
    a way that user dont need to enter login and password.I will hard code the username and password
    in my VB 6.0 application.User only press a button on Visual Basic 6.0 form and and that button will
    open required Orcale form.How can I DO this.PLEASE HELP............
    Regards

    You have the command in VB 6.0 to run any exe files right (I think it is the system command). Next to that command place the following code to run your forms application
    ifrun60.EXE <forms.fmx with complete path> userid=<username>/<password>@<connection string>.
    Regards,
    Senthil .A. Perumal.

  • How to call WD Application from another WD Appliction

    Hi all,
    how can we call webdynpro application from another wbdynpro application on click of a button in the same browser.
    pls suggest
    regards
    vishal

    Hi Vishal,
    Just try to Embed the another WD Component into Component Controller first.
    And then Create a View and map it to window as U regularly do,
    then in Window- Explore the tree until that View, now open Context Menu for Embed View Option and from the scroll U get search for that WD Component U wanna Embed.
    U also have to handle Plugs here, Because the result application required some parameters to be passed that U do from ur first application by passing  those values through Plugs.

  • How AWT TextField can copy/paste from another application?

    Hi,
    We know in applet for the security reason you can not access the getSystemClipboard from the Swing component like JTextField. But We know that with AWT TextField, you can copy and paste from another application. My question is how AWT textfield implemented with this feature. I don't think it is via the systemclipboard. Can some explain this for me?

    the simplest way is to select the part of charactors and drag them into your textfield ^O^

  • How to Starting Lync Metro from Another Application like html

    The Lync 2013 client can be launch from some command-line like below document, but how can we launch the app lync metro? Is there any documentation on this?
    Starting Lync from Another Application
    http://technet.microsoft.com/en-us/library/gg398376.aspx#United%20States%20%28English%29

    Hi,
    There is no specific command-line for Lync Metro app. You may post the issue on MSDN forum to verify if this can be developed. Thank you for your understanding.
    http://social.msdn.microsoft.com/Forums/lync/en-US/home?forum=communicatorsdk
    Kent Huang
    TechNet Community Support

  • Calling FPM application from another FPM application

    Hello Experts,
    I've created 2 FPM configurations, one displays the list of POs created by the user through a List UIBB and the other displays the Header and Item of the PO when selected.
    Scenario is that when I should click on the PO (which is a link) in my 1st application, I need to pas the PO number and some other details to my 2nd application and display the PO header and Item. My all Config is purely UIBB based and I'm not using webdynpro at all for designing any views, everything is designed using FPM UIBBs and feeder classes only.
    what I need to know is:-
    1) how can I pass the data between 2 different FPM applications?
    2) how to call and display my 2nd Application on the same page when I click on the link of 1st application? I need the BACK functionality as well.
    3) how to get the data into my 2nd application from 1st application?
    Plz suggest.
    Best Regards
    Jitin Kharbanda

    Jitin,
    The best option in your case would be to open a new browser window with the second application and pass an URL parameter along with the document number.
    Then you can read the URL parameter in the second application. Please see Re: Determining Edit/Display Mode from Within Freestyle Component how this can be achieved.
    Embedding another FPM application into an already opened FPM application (e.g. by embedding a freestyle UIBB and loading the second FPM application from there) won't work as the FPM runtime will cause a dump saying that two instances ofthe FPM are not allowed.
    If you MUST embedd your second application into the first one, the only chance that comes to my mind is the merge the configurations of both applications and pass the data via singleton / wires / events. Please see Data exchange possibilities in Floorplan Manager
    Regards, Uwe

  • Error while copying a page from one application to another application

    Hi All
    I am using Oracle Apex 4.0
    I getting the error ORA-06502 Pl/Sql Numeric error character string buffer too small when i copying a page from one application to another application.
    Thanks & Regards
    Srikkanth.M

    I'm having the same issue. How did you solve this?

  • Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new

    Safari problem:  when I switch back into safari from another application, the menu bar comes up but no tabs or windows.  What's going on?  Just started yesterday.  I have found a workaround: when I Command Tab back to safari, I hit command T to open a new tab and Command W to close it, and my other tabs are visible.
    I have tried shutting down, closing tabs, with no success.  What's going on and how can I fix it?
    Thanks,
    Cindi B
    PS:  I'm not sure of the actual OS level, but I have not allowed it to upgrade to Maverick yet; concerned about it because of a few things I've read...

    A Safari extension or third party plugin may be causing the menu bar issue.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.
    If it's not an extensions issue, try troubleshooting third party plug-ins.
    Back to Safari > Preferences. This time select the Security tab. Deselect:  Allow plug-ins. Quit and relaunch Safari to test.
    If that made a difference, instructions for troubleshooting plugins here.
    As for which OS X is installed.
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac.
    The version is noted there.
    v10.6 Snow Leopard v10.7 Lion  v10.8 Mountain Lion
    It's your choice whether or not to upgrade to Mavericks. If you decide to do this, make sure your Mac meets the requirements noted here.

  • Copying single page ,region from one application to another application

    Hi,
    I need information regarding How to copy single page or region from one application to another application in the same workspace

    Hi - have a look at this thread: -
    Synonyms
    Cheers,
    Mike

  • Calling a bounded task flow (that uses fragments) from another application

    Hello,
    I'm currently having difficulties calling a task flow located inside another application.
    I have application Console which is my main application in which I would like to run other applications within. Inside this Console I have it divided into splitter windows and inside them I have regions. My goal is to be able to call a task flow from another application inside one of these regions but so far I'm having no luck.
    My first problem occurred when I created a 'local' task flow to make a call to another application's task flow. When I set the properties to the task flow call, it gave me an error that it could not find the .XML file for that task flow when I ran the Console application. I then proceeded to copy that .XML from the remote application into the Console's WEB-INF directory and I seemed to get a bit farther. The error I get now is saying that I cannot run a task-flow that uses fragments. It's essentially trying to run that task flow as an entirely new page instead of inside the region that it's bound to. It's NOT a dynamic region (although that's the end goal here). So I then changed the other application's task flow to simply display an entire page rather than fragments inside a region and voila, it works..... kind of.
    To recap how I was able to call another application's task flow inside the Console:
    - I had to manually copy the task flow xml file into the Console WEB-INF directory
    - I had to change the task flow so that it didn't use fragments
    - I have called the task flow but I lose my console page entirely, no more regions or splitters so I'm back to square one.
    If anybody has any suggestions, hints, tips or anything, send them this way and I will be forever greateful.
    Thanks,
    Mark

    Thanks for your response Frank.
    Unfortunately the problem seems to be greater than that. I've been able to package task-flows into a jar library and tried importing them that way with no luck.
    I'm simple trying to call an external task-flow to run inside a region which is inside a splitter panel that I call my console.
    Any other ideas ?

Maybe you are looking for

  • Project no longer works after downloading AIR 3.4

    My AIR project built using sdk 3.5.0.12683 was all working fine with AIR 3.3, but now I've downloaded 3.4 it won't load. The background AIR window opens and that's it. Is there a way to reinstall AIR 3.3, while we try to find out what change in 3.4 i

  • Oracle ADF Technology Choices

    Hi,      I am new to Oracle ADF. There are several technologies to choose from to build business services in the data model: ADF BC, EJBs, JPA entities etc. I would like to know if there is any advantage of using one over the other to build you appli

  • PREMIERE CS 5 Single

    Hello! Would like to know which are programs really included in the bundle of cheapest version of PREMIERE CS5. (that one of about $800). I´m in doubt if it comes (or not) with Encore DVD and OnLocation. Every shops I've asked don't know it clearly..

  • How can i see with a different size the letters and presentation of theRSA1

    Hi gurus, how can i see in a better size the windows of SAP BW, example RSA1, Business content, etc, now i got it too small i want to see  it better, please step by step thanks !

  • Search Help Accesiblity

    Hi Experts, On a selection screen of report, a parameter has a search help  X attached. On F4, it call the SH with restriction paramters. Now one of these restriction paramters has also search help attahed it its data element and On F4, it call the S