How to access the function in loaded application using swfloader?

Hi,
I have a main flex application which has a view stack, panel
and swfloader in the below hierarchy.
Flex main app --> Canvas1(Viewstack) --> Panel1 -->
Swfloader
Please view
http://www.probe7.com/flex_ques.gif
for better understanding.
I have a function in the loaded application which has to be
called from a function within the main application. I am not sure
of the syntax to access the swfloader content which is placed in a
canvas -> panel.
I tried this example (
http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html),
it works when the swfloader is placed in the main application
without the viewstack or panel. How can I do this, Is there a way
to access all the running applictaions, regardless of the
hierarchy? Any help will be greatly appreciated.
Also any links for quick reference on various components and
their access will be helpful.
Thanks for your time.

You are probably seeing the deferred instantiation behavior
which is the default for ViewStack.
The Swfloader component does not exist until a user navigates
to the View that contains it.
Use events to determine when the swfloader content is ready
for interaction. Here is an example:
http://www.cflex.net/showFileDetails.cfm?ObjectID=690
Tracy

Similar Messages

  • How to access the Text Frame, when we use scrollable frame,

    Hi Friends,
    How to access the Text Frame, when we use scrollable frame,
    Thank you,
    [ Nav ]

    That's the same question:
    how can I access something (a page item) on a page…
    Answer: you need something unique in that object you can get a handle on.
    Or you use the selection a user of your script is doing and work with that selection…
    A "scrollable frame" is nothing special. What it makes it a "scrollable frame" is the DPS software.
    So you have to look for attached labels on the object, that identify the object for the PDS plug-in "Overlay Creator" as a "scrollable frame". That's possible with the "extractLabel("KeyString")" function. But you need to know the appropriate key-string in advance.
    In another of your thread in the DPS forum, I basically answered the question how to obtain those key-strings.
    When knowing the key-string you could loop through all your page items (you can skip all text frames) in the allPageItems-collection, to identify the "scrollable frame" by extracting the right label.
    If you have more than one "scollable frames" you need a second unique identifier for the particular object.
    That could be nearly any property.
    Keep in mind, there is no "scrollableFrames" collection in the DOM !
    Uwe

  • How to access PPC contacts into my application using Flash

    Hi,
    I am new to flash lite anybody help me how to access PPC
    contacts into my application.

    Hi,
    I am new to flash lite anybody help me how to access PPC
    contacts into my application.

  • How to access the attributes in an object using TestStand.?

    hi,
    I have a class named Status in C# that has 2 data members. There is another Class named Parameter and it has functions that return objects of type Status.
    I made the DLL of the class Parameter. Then i added that class to NI TestStand and called a fucntion and that function is returning an object of type Status.
    Is there any way by which i can access the Data Members of the returned Object in TestStand ??
    Thanx in advance
    Solved!
    Go to Solution.

    Yes, there is another alternative. If you make Status a value type (i.e. a struct in C#) then you can tell teststand to store it in a corresponding TestStand data structure rather than an object reference variable. This works even for private fields in your struct. To do this:
    1) First make Status a value type and make whatever other changes are necessary in your code to account for this (value types are copied when passed by value to another method, if this is not what you want you will need to pass them by reference - i.e. ref keyword in C#).
    2) Recompile your assembly.
    3) In the TestStand .NET module specification panel you should now see a new button next to the expression for the return value of type Status that looks like the TestStand data type icon. Push that button and it will prompt you to create a TestStand custom data type that corresponds to the .NET type. Select to save the type in MyTypes.ini type palette file. You only need to do this once. Once the type is in your MyTypes.ini type palette file it will be available from then on and you only need to update it if you change the .NET type.
    4) Create a local variable of the TestStand Custom data type instead of Object Reference. Note that you can expand it and see the properties underneath.
    5) Use this new local variable to store the Status return value. TestStand will copy/update the properties of the variable to correspond to those of the .NET struct that the method returns.
    NOTE: You can also just store the individual fields of a struct in separate variables by expanding the return value of type Status once it's a struct and specifying a separate variable for each field rather than creating a TestStand custom data type.
    Keep in mind that TestStand is making a copy when you store a struct this way so changes to the struct after this will not be reflected in the copy.
    Hope this helps,
    -Doug

  • How to access the database tables from application

    Hii all,
    The information in webcenter content, such as meta data fields, users, security groups etc are stored in
    database tables like-      Revisions, SecurityGroups, Users, DocType etc..
    Can we access this tables from an adf application or any webcenter application..
    If yes, then what can be the approach for that..??
    Another things, how can we create custom tables just like the predefined tables...??
    Any information regarding this.??
    Thanks

    Can we access this tables from an adf application or any webcenter application.Yes, you can - like to any other existing database. But I would strongly discourage you from any, but read-only access, or you can easily end up with inconsistent data.
    If yes, then what can be the approach for that..??Just create a database connection and define in your model what tables you want to access.
    Another things, how can we create custom tables just like the predefined tables...
    Actually, WebCenter Content provides functionality of creation of custom tables (see http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c04_metadata.htm#autoId2 ) and these are probably the only good candidates for read-write access. See further in the manual what use cases are supported. Of course, you could do this even externally, but rather than Data Definition Language, I'd use services (if there are some).

  • How to call the function before web application close

    How we can call a flex function before closing the browser in web application

    hello
    this link may help you  http://cookbooks.adobe.com/post_Close_event_of_browser_or_browser_tab-18211.html.
                         Gajanan Hiroji | [email protected] | www.isacglobal.com

  • How to access the function which saves passwords so that I can save passwords to all the sites and not just the random ones that Firfox asks about?

    Sometimes the question comes up of the top of the screen" do you want to save this password" which is great. But it does not always come up...this is the problem. I can't seem to locate where to find this application? Can you help?

    Saved Password Editor extension has a feature that allows you to add passwords / usernames to Firefox manually. <br />
    https://addons.mozilla.org/en-US/firefox/addon/60265

  • How to identify the version of InDesign application used to produce an InDesign document

    Is there a way to identify the version of the InDesign application(CS/CS2/CS3) where the Document was originally created?
    Can we use InDesign CS3 server to open a CS2 document to do some relinking and save it again as a CS2 document without converting the document to CS3 version? If not, how to identify and not open the documents produced by previous versions of InDesign application?
    Thanks in advance.

    Hi,
    you can test the Creator. In addition however the document must be opened. If it is a CS2 document, closes document again without to save. I did not test it. Would have to function however.
    JavaScript Example:
    try {
    var creator = app.documents.item(0).metadataPreferences.creator;
    catch(e){}
    alert( "The creator = " + creator );
    Greeting Andreas

  • How to access the Approvals task using url

    Hi,
    Please let me know how to access the approval tasks in BPM using the url.
    I need to access the approval tasks from outside BPM
    Thanks

    Hi Latha,
    There are many ways to pass parameters to 2nd page.
    However try using hashmap.
    1st page code in processformrequest:
    import com.sun.java.util.collections.HashMap;
    HashMap hashmap = new HashMap();
    hashmap.put("var_enpid",enpid);
    pageContext.forwardImmediately("XX_SECOND_PG", //Function Name of the 2nd page
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hashmap, // put Null if no parameters to pass thru hashmap
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    2nd page code in processrequest:
    String empid = (String)pageContext.getParameter("var_enpid");
    Regards
    Sanu

  • I have an Ipad, I activated the time capsule with no issues. I added the airport Utility application without issue.  However, I do not know how to access the hard drive with either my Windows computer or the Ipad.  Does someone know how?

    I have an Ipad, I activated the time capsule with no issues. I added the airport Utility application without issue.  However, I do not know how to access the hard drive with either my Windows computer or the Ipad.  Does someone know how?

    On windows load the airport utility .. latest correct version as possible.. there is no windows 8 but win7 works after a fashion.
    Make sure the TC is using SMB compatible names.. short no spaces and pure alphanumeric.
    Type the name directly into windows explorer.
    \\TCname or \\TCIPaddress
    If no luck turn off all the firewalls.. internal windows plus security software plus whatever other gargyoles and other rubbish AV software you have running.
    Ensure windows is able to at least ping the TC by IP address and name..
    Use the utility in windows to set file sharing to guest account on with full read and write access.. and set workgroup to WORKGROUP.

  • How to access the value of application item in javascript

    How to access the value of application item in javascript?

    Hi,
    One way
    var myVariable = '&MY_APP_ITEM.';Br,Jari

  • How to access the screen from one function group to other function group

    Hi Experts,
    How to access the the screen from one function group to other function group.
    Please help me on this , Bcoz it is client requirement i need to finish this urgently.
    Please
    Thanks
    Basu

    HI ,
    You can do a call transaction or submit and return
    Regards,
    Sooness.

  • How i access file which stored at application server .? Is there any fm ?

    Hi,
    How i access file which stored at application server . Is there any function module which provide same funtinality.
    Regards,
    Gurprit Bhatia

    Hi ,
            U need to use datasets for reading data from application server.Do a f1 on dataset,u will get to know rest of the things.
    TRY.
        OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UTF-8.
      ENDTRY.
      IF sy-subrc = 0.
          READ DATASET file INTO <wa_data> MAXIMUM LENGTH 200.
               move the data in to internal table
        close dataset
    Edited by: A kumar on Aug 21, 2008 1:37 PM

  • How To Access HTTPS Web Service  in Application Module

    I need to know how to access HTTPS web service in application module.
    If you can provide the tutorial or guidance to achieve this really appreciate.
    Thanks
    Sameera

    Use the Web Service Proxy wizard in JDeveloper to create a class that calls your Web service, and then call this class from code in your AM.
    http://docs.oracle.com/cd/E16340_01/web.1111/b31974/web_services.htm#CJAHGIEF

  • How to access the file in the WEB-INF Folder

    hi..
    i want to access a xml file, using servlet, which is placed under WEB-INF folder.
    Please tell me how can i access the file.
    I am using WSAD to develop the application
    Thanx in advance.

    I haven't tried accessing an XML file that is placed in WEB-INF folder.
    Files under WEB-INF are usually protected from client/browser access, but a Servlet may be able to access it (not sure though).
    What problems are you facing when you try to access an XML file in the WEB-INF folder?
    If you can't access it from the WEB-INF folder , place it in any folder except the WEB-INF folder.
    Also, if you want to protect the XML file then you could password protect it or deny access to it via .htaccess file, or simply return a 403 forbidden header.

Maybe you are looking for

  • Reference field in payment proposal list

    Hi Gurus, Can we have reference field in payment proposal list? Please tell me how as it is not available in change layout fields. Thanks

  • RMAN-06059: expected archived log not found

    I'm using Backup Exec Remote Agent 11d to backup a Oracle 9.2 database runing on a Windows 2003 platform. Some ARC files have been manually deleted. I've tried using "corsscheck archivelog all;" but then I found that the Remote Agent has been configu

  • Workbook question

    Hello Gurus Is it possible to have a dynamic query and then be able to use  bex formulas to do calculation in the dynamic rows. thanks

  • Photoshop CC 2014 et Camera Raw 8.5

    Quand la mise à jour sera t-elle disponible ? Comment mettre à jour, avec CC, qui ne propose pas de mise à jour avec CR 8.5 ? Car Lightroom a la version 8.5 et PSCC 2014 la version 8.4.1.200. Merci d'avance.

  • Flash to Flex Migration

    I'm a flash programmer very interested in flex. My company has asked me to do some research and come up with some reasons why we should begin to implement flex. I've found many reasons online to use flex, but no real direct comparisons to flash. I'm