Sharing data between SWF's

Hello,
Is there any way to exchange data between 2 swf's?

You can talk between movies using javascript as the middleman. Here's a link that provides some information on that...
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683

Similar Messages

  • Sharing data between swf files

    Hello,
         I have a login.swf file which authenticates the user. Once login is successful I want redirect to loggedin.swf file and pass some user information to the loggedin.swf?. How do i do it? I dont want to use shared objects as users may prevent saving  on to local machine. I dont want to send it in URL either. I want something like hidden variables in html. Is it possible.
    Thanks,
    Bharani

    Hi
    I have mutiple swf files in single page each having its sound attached to it.
    Now I want one sound to play at a time while all rest swf's sound to be mute.
    When user clicks second swf then first swf sound to be mute and second's swf sound to play and all rest swf to mute.
    Similarly when he clicks third then third's sound to play while rest all swf to be mute.
    I have already implemented swf with sound attached.
    But they all are playing at a time.
    How this control can be implemented ?? Number of swf files can vary.
    Any help??

  • Sharing data between two separate user sessions

    Hi all!
    I have been trawling my brain for a solution to this - any help will be appreciated!
    I would like to create a single instance of a class but share that instance over more than one user session (two separate users but both running concurrently).
    Just as you can pass data between sessions using ABAP memory - I would like to pass data (specifically an object reference) between two separate users that could even be logged in to two separate application servers...
    Even a mini Client/server solution would suffice but I cannot figure one out!
    Is this possible?
    Many thanks for your thoughts in advance...
    N

    Hello N K,
    sorry thats not possible. Sharing a data item / object instance requires at least a common physical memory. As this is not guaranteed between different app. server this is technical not possible.
    With release 640 ABAP offers the new feature Shared Objects. These mechanism allows access by different users and some propagation to differnt servers.There is an interesting article on the ABAP SDN homepage
    https://www.sdn.sap.com/sdn/developerareas/abap.sdn
    For relases below more or less the database is the only chance to store data accross application servers (known to me). One exception might be the ENQUEUES which might (mis)used to store some Flags.
    Kind Regards
    Klaus
    Link to Shared Objects PDF
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/shared objects in abap

  • Sharing movies between swf's

    I have a flash .fla file that contains a bunch of movieclips
    and components that need to be used in other fla's. What is the
    best way to do this? Currently, I am marking the library entries as
    export for run-time sharing using the same swf name as the fla
    uses. In the .fla file that needs to use these shared clips, I
    simply drag them onto the stage from the library of the .fla that
    contains them. This creates an entry in the second .fla for the
    clip and marks it as imported from the other swf. This works fine
    if the swf's are in the same directory. When I put the SWF's in
    different directories it all stops working.
    Does anyone else use shared swf's in a similar way? I have
    been finding that all examples I see have everything done in the
    same .fla file. For my needs, this will be very inefficient. I am
    building a very large UI that needs to broken into logical pieces
    for maintainability and multiple developer support. Any advice for
    the best way to accomplish this would be greatly appreciated.
    Thanks,
    -Jeff

    You can talk between movies using javascript as the middleman. Here's a link that provides some information on that...
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683

  • Sharing ActionScript between SWFs

    I have a "main" SWF which imports several hundred class files and results in about 300k worth of AS3 bytecode. This SWF needs to load other SWFs, on demand, which also import the same code base. When compiling this results in a lot of files all containing the same large chunk of AS3 bytecode. What is the best way to share this code between all the SWFs involved so it need only be loaded once?
    I looked at RSL's but to me they looked like they only catered for library assets rather than chunks of AS3 code.

    I'm not sure what your structure is exactly, but it sounds similar to the one I am currently creating.
    I have many SWFs loaded into a main SWF. The children SWF files sometimes need information from the main SWF, which is where I keep some of the code that all children SWF files will be using.
    The way I do this is by having the child SWF dispatch an event to the main SWF, the main SWF captures the event and subsequently executes the code necessary for that particular event. If the child SWF requires a return value, I have a property created in the child called "Receive", which is an Object set up as a hash. The main SWF sets that property directly when returning information, which also allows it to return a lot of data in very little code. The child SWF now need only listen for when "Receive" changes in value to receive the data.
    Hope that helps you out!
    ~Plystire

  • Sharing Date between Projects

    I can copy slides and use the Library to share data. I can
    also combine multiple projects into a chain of projects. Is it
    possible to have a source of data that can be shared accross
    multiple projects? For example, lets say I have one slide I want to
    use across 30 projects. Right now I can create a slide and copy it
    into 30 projects. I can also create a project with the one slide
    and have all projects run the second project, but starting a new
    movie (I think) won't allow the user to go back to the previous
    movie.
    Is it possible to link data so multiple projects can point to
    one or multiple files with the one or multiple slides. So when I
    update that one slide, it updates it in 30 locations. I don't have
    to update 30 slides. Its kind of lik building common pieces and
    sharing them so you don't have to duplicate the same work multiple
    times.
    Shawn

    Yeah, what you are talking about used to be called dynamic
    link libraries or just dynamic linking - might still be, for all I
    know. No, Shawn, it's not possible in Captivate. Not the way you
    want to use it - sorry.
    You've been around long enough to know the drill -
    click
    here to go to the Wish List and enter a request for this
    feature
    . It's not a bad idea IMO. Good luck with the request...
    .

  • Sharing data between two canvases on the same form ?

    Hello,
    I have one form with two canvases and two data blocks.
    Datablock A and datablock B are same tables.
    The reason I split is so I can have a search field on canvas A, then after executing the query, I want to populate canvas B.
    I'm having trouble sharing the data across both data blocks.
    Note: I set up a relation in datablock B to correspond with A, and I've chosen field name "Horse" to be my master and detail item.
    "When-button-pressed-trigger" --> Here is part of my code after the user presses the "Search" button (in datablock A).
         execute_query;
         SHOW_VIEW('CANVAS_HORSE');
         HIDE_VIEW('CANVAS_SEARCH');
         :fox_horse.horse := :fox_horse1.horse     ;                         GO_BLOCK('FOX_HORSE');
    When I go back to my "FOX_Horse" datablock, why is the :fox_horse.horse field the only one populated? I though by creating a relation btwn the two blocks they would syncronize automatically ?
    Any advice ?
    Thanks,
    Bob

    Alex,
    I have tried your suggestion, yet I'm still having a problem once I issue my execute_query command.
    In my Search button I have this code:
    BEGIN
    :fox_horse1.horse := :fox_horse.horse;
    GO_BLOCK('FOX_HORSE1');               
    execute_query;
    END;
    Note that FOX_HORSE is NOT a database block (as you suggested), but FOX_HORSE1 is a database block.
    So when I click on the "Search" button I can see the :fox_horse1.horse field getting populated immediately, but then the system asks me if I want to save changes. When I say NO, the actual data block portion of my screen just defaults to the first record, so my exec_query show no effect at all.
    What am I doing wrong in my search button trigger ?
    Thanks so much for your advice,
    Bob

  • Sharing data between CRM and Sharepoint

    Does anyone have an easy way to share dynamic lists in CRM with Sharepoint? We basically have a client list/view in accounts in CRM (all are online services with Microsoft 2013) and want to have it or a variation of it in sharepoint, but we want the data
    to be dynamic. Wondering about BCS or using dynamic spreadsheets. Thanks.

    Hi,
    Yes, this is what EPMA is meant for. You can create and share dimensions between applications of different type. In the property grid of any member at dimension library you can choose the category and edit the properties in selected category of the member (Planning, Consolidation (HFM), Essbase, etc.).
    Further details are in below:
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epma_admin/frameset.htm?launch.html
    Cheers,
    Alp

  • Sharing data between jsp's

    how can i share different variable difined in one jsp to another jsp??
    thanks!!!!

    Are the two JSPs on the same user request? Use the request object to store the variables?
    Are the two JSPs read by the same user but on different requests? Use the session object.
    Are the two JSPs read by different users? Put the data in the application object.
    Not sure how to use the pageContext, request, session, and application objects? Read chapters 11-16 of the J2EE tutorial: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

  • Sharing data between two Web Apps

    Hi,
    I have got two web applications that share a MySQL database accessed by
    Kodo JDO. I have tremendous difficulty to share the state that one web
    application writes to the database with the second web application. The
    data seems to stay in the cache of the first app and I have not found a
    way to flush the data to the SQL database, so that the second can read it.
    I do a refresh on the relevant object within the second app. The problem
    seems to be flushing the cache of the first app.
    Best regards
    Wolfgang
    PS: To Solarmetric: Thanks for this wonderfull technology. I am building a
    complex database application, without having to learn SQL.

    Hi Greg,
    this:
    properties.setProperty("kodo.DataCache", "false");
    does not do the trick. There is no difference in behaviour. To use
    kodo.RemoteCommitProvider I would need the performance pack at 900 bucks a
    pop, which is not an option right now.
    Best regards
    Wolfgang
    Greg Campbell wrote:
    Hi Wolfgang,
    Are you using Kodo's Datastore cache in both web apps? I suspect that what
    is happening is that the data actually is being flushed to the database
    appropriately (assuming that you commit your transactions), but that your
    cache in your second app has stale data. Could you turn off the datastore
    cache in both apps just test that hypothesis?
    If your applications start to work as expected with the datacache off, then
    you should check out (assuming you're using Kodo v. 3.1.3)
    http://www.solarmetric.com/Software/Documentation/3.1.3/docs/ref_guide_event.html#ref_guide_event_conf
    That section of doc describes how to get the datastore caches in the two
    JVMs talking to each other.
    Thanks,
    Greg
    "Wolfgang Kundrus" <[email protected]> wrote in message
    news:ccli85$lae$[email protected]..
    Hi,
    I have got two web applications that share a MySQL database accessed by
    Kodo JDO. I have tremendous difficulty to share the state that one web
    application writes to the database with the second web application. The
    data seems to stay in the cache of the first app and I have not found a
    way to flush the data to the SQL database, so that the second can read it.
    I do a refresh on the relevant object within the second app. The problem
    seems to be flushing the cache of the first app.
    Best regards
    Wolfgang
    PS: To Solarmetric: Thanks for this wonderfull technology. I am building a
    complex database application, without having to learn SQL.

  • Sharing data between two computers

    Hi
    I have a mac running itunes in my office, it is not connected to the Internet any more. At home I have a PC which is connected to the Internet with itunes running on it. Can I purchase songs on the PC and then transfer them to the mac? How would I do this?
    Thanks!

    *Can I purchase songs on the PC and then transfer them to the mac?*
    Yes you can. Have a look at these guides:
    iTunes for Mac: How to copy purchases between authorized computers
    iTunes for Windows: How to copy purchases between authorized computers

  • Sharing data between a bean and a jsp

    I have a bean that is being used as a helper class for a jsp page. I can call functions in the bean and display what is returned but I can't test the state of the bean in the jsp page. Is this possible?
    my code is below:
    jsp: a form posts info to this page
    <HTML>
    <BODY>
    <jsp:useBean id='portal' class='portal.portal'/>
    <%-- set the username and password --%>
    <jsp:setProperty name="portal" property="*" />
    <jsp:getProperty name="portal" property="dbconnection"/>
    <Center>
    <H1>Welcome to the Portal
    <jsp:getProperty name="portal" property="firstName"/>
    </H1>
    <br>
    <table border="0">
    <%-- while loop grabs all the services --%>
    <%-- case tests for special services (links) --%>
    <%
    String url = "";
    int ServiceID = 0;
    //I CAN'T PULL THE VALUES FOR THESE VARIABLES SO THE WHOLE WHILE LOOP IS SKIPPED!
    while (url.length() != 0)
    switch (ServiceID)
    case 69:
    %>
    <tr valign="top" height="45">
    <td>
    <center>
    " TARGET="new_window"><IMG SRC="images\MEDS TAPE LOG.gif" BORDER=white></A><br>
    </center>
    </td>
    </tr>
    <%
    break;
    case 41:
    %>
    <tr valign="top" height="45">
    <td>
    <center>
    <A HREF="<jsp:getProperty name="portal" property="url"/>" TARGET="new_window"><IMG SRC="images\Lan Support Website.gif" BORDER=white></A><br>
    </center>
    </td>
    </tr>
    <%
    break;
    case 1:
    %>
    <tr valign="top">
    <td>
    <center>
    <form name="loginfrm" action="http://204.104.185.139/pls/WLOG/login.ValidateUser" method="post" target=_parent>
    <INPUT TYPE=hidden NAME=TXTUSERNAME VALUE="<jsp:getProperty name="portal" property="name"/>">
    <INPUT TYPE=hidden NAME="TXTPASSWORD" VALUE="<jsp:getProperty name="portal" property="password"/>">
    <input TYPE="submit" VALUE="<jsp:getProperty name="portal" property="serviceName"/>" style="width: 120px;" >
    <input type="reset" name="reset" value="">
    </Form>
    </center>
    </td>
    </tr>
    <%
    break;
    default:
    %>
    <tr valign="top">
    <td>
    <center>
    <Form method='post' action='<jsp:getProperty name="portal" property="url"/>' name='loginfrm'>
    <INPUT TYPE=hidden NAME="TXTPASSWORD" VALUE="<jsp:getProperty name="portal" property="password"/>">
    <INPUT TYPE=hidden NAME="TXTUSERNAME" VALUE="<jsp:getProperty name="portal" property="name"/>">
    <INPUT TYPE=hidden NAME="firstname" VALUE="<jsp:getProperty name="portal" property="firstName"/>">
    <INPUT TYPE=hidden NAME="lastname" VALUE="<jsp:getProperty name="portal" property="lastName"/>">
    <INPUT TYPE=hidden NAME="id" VALUE="<jsp:getProperty name="portal" property="userID"/>">
    <INPUT TYPE=hidden NAME="role" VALUE="<jsp:getProperty name="portal" property="roleID"/>">
    <input type='submit' name='submit' value='<jsp:getProperty name="portal" property="serviceName"/>'>
    </Form>
    </center>
    </td>
    </tr>
    <%
    break;
    %>
    <jsp:getProperty name="portal" property="nextForm"/>
    <%
    %>
    </table>
    </Center>
    </Body>
    </Html>
    here is the bean:
    //bean for portal
    package portal;
    import java.io.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.util.Enumeration;
    import java.sql.*;
    import java.util.*;
    public class portal {
    private ResultSet userInfo;
    private Statement stmt;
    private String pw;//password from the database
    private String FirstName;
    private String LastName;
    private String UserName=""; //network login name
    private String UserPassword="";//password supplied by the form
    private int UserID; // temp variable while pulling the services from the databases
    private int RoleID; // temp variable while pulling the services from the databases
    private String ServiceName=""; //temp variable while pulling the services from the database
    private int ServiceID;
    private String url ="";
    //String Message=""; //testing
    private String Message2=""; //string that sends the correct html back to the jsp
    public int getServiceID(){
    return ServiceID;
    public void setName(String Name){
    UserName = Name;
    public String getName(){
    return UserName;
    public void setPassword(String Password){
    UserPassword = Password;
    public String getPassword(){
    return UserPassword;
    public String getFirstName(){
    return FirstName;
    public String getLastName(){
    return LastName;
    public String getUrl(){
    return url;
    public int getUserID(){
    return UserID;
    public int getRoleID(){
    return RoleID;
    public String getServiceName(){
    return ServiceName;
    public String getDbconnection() {
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
    DriverManager.setLoginTimeout(60);//time out after 1 min.
    Connection con = DriverManager.getConnection("jdbc:odbc:Portal");
    stmt = con.createStatement();
    String query = "SELECT EMP_TABLE.EMP_PASS, MGR_SERVICES.SERVICE_ID,";
    query = query +" MGR_SERVICES.DEFAULT_URL, EMP_TABLE.EMP_USER_ID, *";
    query = query +"FROM (EMP_TABLE LEFT JOIN MGR_USER_SERVICES ON";
    query = query +" EMP_TABLE.EMP_USER_ID = MGR_USER_SERVICES.USER_ID)";
    query = query +" LEFT JOIN MGR_SERVICES ON MGR_USER_SERVICES.SERVICE_ID =";
    query = query +" MGR_SERVICES.SERVICE_ID WHERE (((EMP_TABLE.EMP_LAN_ID)='" + UserName+ "'))";
    //String query = "SELECT EMP_TABLE.EMP_PASS, MGR_SERVICES.SERVICE_ID,";
    //query = query +" MGR_SERVICES.DEFAULT_URL, EMP_TABLE.EMP_USER_ID, *";
    //query = query +"FROM (EMP_TABLE LEFT JOIN MGR_USER_SERVICES ON";
    //query = query +" EMP_TABLE.EMP_USER_ID = MGR_USER_SERVICES.USER_ID)";
    //query = query +" LEFT JOIN MGR_SERVICES ON MGR_USER_SERVICES.SERVICE_ID =";
    //query = query +" MGR_SERVICES.SERVICE_ID WHERE (((EMP_TABLE.EMP_LAN_ID)='landwla'))";
    //String query = "SELECT * FROM EMP_TABLE WHERE EMP_LAN_ID ='landwla'";
    userInfo = stmt.executeQuery(query);
    if(userInfo.next())
    pw = userInfo.getString("EMP_PASS");
    if (UserPassword.equals(pw))
    //Message = "Your logged in";
    //Message = Message + "Luke you sly devil";
    FirstName = userInfo.getString("EMP_FIRST");
    LastName = userInfo.getString("EMP_LAST");
    UserID = userInfo.getInt("EMP_USER_ID");
    RoleID = userInfo.getInt("ROLE_ID");
    url=userInfo.getString("DEFAULT_URL");
    ServiceName = userInfo.getString("SERVICE_NAME");
    ServiceID = userInfo.getInt("Service_ID");
    else
    Message2 = "<Script Language=JavaScript>";
    Message2 = Message2 + "alert('Your Password Information is incorrect');";
    Message2 = Message2 + "window.location.href = 'Login.html'";
    Message2 = Message2 + "</Script>";
    else
    Message2 = "<Script Language=JavaScript>";
    Message2 = Message2 + "alert('Your Login Information is incorrect');";
    Message2 = Message2 + "window.location.href = 'Login.html'";
    Message2 = Message2 + "</Script>";
    catch (InstantiationException i)
    {return (i.toString());}
    catch (ClassNotFoundException c)
    {return (c.toString());}
    catch (SQLException sql)
    {return (sql.toString());}
    catch (Exception e)
    {return (e.toString());}
    return Message2;
    public String getNextForm() {
    try
    url="";
    ServiceName="";
    if(userInfo.next())
    url=userInfo.getString("DEFAULT_URL");
    ServiceName = userInfo.getString("SERVICE_NAME");
    RoleID = userInfo.getInt("ROLE_ID");
    ServiceID = userInfo.getInt("Service_ID");
    catch (SQLException sql)
    {return (sql.toString());}
    return Message2;

    Of course you can.
    <%
    String url = protal.getUrl();
    %>

  • Sharing data between two iPads with different iclouds

    Hi basically I want to be able to link notes etc from my iPad to my bosses iPad, obviously we have different iCloud's and we don't mind using a third party app. anything anyone can suggest.

    Thank you! The itunes accounts are on different computers. The movies I want to share are digital downloads that came with movies I purchased. Example Rio. My son has an Ipad2 and and I have an ipad. I mainly want to be able to share the movies with him on his ipad.

  • Sharing SharedObjects between multiple .swfs

    Relatively simple problem; I have a project that I think may be more manageable if I break it up into multiple small .swf files rather than having a gargantuan mega .swf.
    Now, I know that I could use a root .swf and load data from the others, but I think that it'll be a lot easier to debug and update if I'm using separate self-contained .swfs, so this is the direction I'm currently investigating.
    However, the .swfs won't really work unless I can have user-data persist between them, so I'm wondering if I can load a SharedObject saved by another .swf file? Are there any important caveats that I need to be aware of?
    In particular, can anyone give me sample code that would allow me to do this with both an online and offline copy of the files; i.e - if I run the same set of .swfs from haravikk.com, and locally, I want them to still be able to share data with one-another. In this case though I won't need to worry about sharing data between a local copy and haravikk.com, just so long as the files themselves can pass data within whatever domain they're loaded it should be fine.

    To do this I still need to make sure that all .swfs are retrieving/flushing their SharedObjects to the same domain though, right?
    I'm curious, is there a good way to work out what the right domain is dynamically?
    For example; say I have "Menu.swf", and "About.swf", both store in the same folder "MySite", so the files are located at "MySite/Menu.swf" and "MySite/About.swf" respectively. To avoid tying the files to a particular domain-name (so it can still work offline) I'd like to grab the current location of the .swf, and remove the file-name so that I have a domain containing just the enclosing folder.
    Is there a best way to do this? Basically so I can have my .swf files using a consistent domain for storing/saving, while still supporting relocating the files, so they will work offline if I copy them to my local machine for example.

  • Request Scope for portlets? Sharing data tutorial does not work for portlet

    I created 2 identical applications, one that was a regular JSF web app, and one a JSR168 portlet. By following the "Sharing Data Between Two Pages" tutorial, I can get this technique to work without a problem in the web app, but the portlet (deployed locally using the pluto server) does not work. What is the difference between a regular app and a portlet app?
    This shows that portlets apparently handle scope much differently than other applications, so any information relating to this would be helpful to pass along.

    Portlet Life Cycle Differences
    A portlet page is the same as a web application page in the Creator 2 application
    model with differences only in the page life cycle. To best understand the life
    cycle differences, you must first understand how a portal interacts with a portlet.
    This interaction between portals and portlets is defined by the JSR-168 Portlet
    specification. Typically a portal display in the web browser shows multiple
    portlets. That is, when the portal page is displayed, there are actually multiple
    portlets displaying or rendering their content. The job of the portal is to manage
    how these portlets are displayed. Internally, the portal is responsible for telling
    each portlet two things:
    1. When to display itself
    2. If there has been an action, such as a button press, performed inside that
    portlet.
    When a portal wants portlets to display their contents, the portal sends a render
    request to each portlet showing in the portal. If one of the portlets showing in the
    portal has a button tied to an action request, when that button is pushed, the
    portal fires an action request for that portlet. In addition, the portal generates a
    render request for the portlet and all other portlets on the page. You should note
    that the portal implementation fires both action and render requests for each
    action method on a portlet showing in the portal. The implication of this
    interaction means the portlet page being rendered can not make assumptions
    about the state of the values to be shown. Unlike a normal web application page,
    a portlet page can't assume that the page being rendered in the Render Response
    phase is the same page that was built in Restore View. If a portlet wants to
    maintain state across repeated render requests, the portlet must use the session
    bean to store stateful information.
    The main point to remember is a portlet page must always be prepared to render
    it's values from scratch or session data. This implies you should never bind
    portlet page UI components to page bean properties or request bean properties.
    Also, you should never rely on page bean instance variables that might be set
    during an action event.
    Hope this helps.

Maybe you are looking for

  • Can you use iCloud with garageband on a mac?

    i know you can use it on a phone and ipad.but i cant figure out how to do it with mac.(i want to upload songs on there to access from other devices)

  • HELP using print function in Finder

    When you right click a selection of Word documents or photos in the finder, I see an option for Print. I thought that if I used this option, the selection would automatically print. Instead, it just opens the application and documents (for example, M

  • Scheduled turn on for a future date how can I remove it. Please

    Please help. My daughter has set this by mistake and cant use her phone anymore. It is set to turn on in a months time. Gives the option turn off or full power off but cant select either.

  • Plugin editor not showing

    I have recently on my powerbook received tghe following error: When launching a plugin, the editor won´t show up (ie the graphical editor), but the control page works just fine. Logic say: resource not available... any ideas

  • Photoshop elements 12 not editing

    photoshop elements 12 keeps crashing says windows looking for error. tried uninstall bought new dvd nothig.