Multiple iframes on One Page Trigger One from Another

So I am creating multiple animations on a single page. The page is a PHP page and was built long ago. I am just replacing some images with Edge Animate animations.
I want to do them in a sequence. So I was wondering if there was a way in the time line of one, to trigger the start of another? Each is going to be in an individual iframe. Which I know compounds the issue.
I thought of just putting some lead seconds in each of the animations so they sort of pause, but that would assume all of them load at the exact same time to keep the timing.
Any help would be appreciated.

Due to browser security, I don't think it would be possible to have one iframe talk to another in the way you want.
Is there a reason you are using iframes instead of DIVs?
I created a simple demo of what I think you want to do here, but just using DIVs: http://thetraininggrounds.com/An-test/end-trigger-second-an/combined_an.html
What I did was start with two compositions. In the second one, at 0ms, I set a trigger of sym.stop(); to ensure this would not play until I told it to.
In the first one, I set the complete event (i.e. when it's done playing) to start the second composition. I used the code: Edge.getComposition("EDGE-253701960").getStage().play();
You will, of course, need to substitute the actual composition ID for the one I included in getComposition.
Then it was simply a matter of including the preload .js file for both and the stage divs for both into the same page.
There is definitely more you can do, and I suggest checking out the API documentation for more info: http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html
I hope this helps.

Similar Messages

  • Hi I have two macbook pro, i connected one from another via lan cable , now when i removed it, its showing me some pop up again and again saying server may not exists and there was a problem connecting to ishan's macbook pro

    Hi I have two macbook pro, i connected one from another via lan cable , now when i removed it, its showing me some pop up again and again saying server may not exists and there was a problem connecting to ishan's macbook pro

    If you just reboot it, does the problem go away?

  • Which option do I have to select If I buy the latest iPad with cellular feature for international use? If I choose verizon can I just change the sim card and insert one from another country?

    Which option do I have to select If I buy the latest iPad with cellular feature for international use? If I choose verizon can I just change the sim card and insert one from another country?

    I would guess you need the A1460 model
    see here
    http://www.apple.com/ipad/LTE/

  • Can I call a .htm page of view1 from another .htm page of view 2?

    Hi,
    I have a viewset QuestionnaireTabVS with a view area TABS which has two views  QuestionCondnsVS (default) and View QuestionRisksVS.
    When a variable say GV_TAB  is set as 'Questions' it navigates to the QuestionCondnsVS view and when the variable GV_TAB is set as 'Risks' it navigates to the QuestionnaireRisksVS.
    This view set QuestionnaireTabVS is contained in an overview page which  has two Radiobuttons. It works fine when  the first radiobutton is selected, i.e, when I click on the Questions it renders the QuestionCondnsVS view and when I click on the Risks it renders me the QuestionRisksVS view .
    Problem is when  I had clicked the RISK tab first and then selected the another radiobutton the rendered view QuestionRisksVS doesnt get removed
    but is present there by default which I dont want.I want the QuestionCondnsVS view to be present there by default after the second radiobutton is selected. I tried to refresh all the controllers but somehow it navigates to the  QuestionRisksVS only .
    So i thought to call the  .htm page of QuestionCondnsVS forcefully from the QuestionnaireTabVS .htm page as soon as I select the another radiobutton.
    Can I call a .htm page of QuestionCondnsVS from another .htm page of  QuestionnaireTabVS? If yes then how or any other suggestion is welcome

    Hi Dharmakasi,
    The Radiobuttons code is not added in the same HTML page but lies in a different component where the coding is on event handler.
    METHOD eh_onchecked.
      DATA: lv_option TYPE REF TO if_bol_bo_property_access,
            lv_check  TYPE char1.
      lv_option ?= typed_context->switch->collection_wrapper->get_current( ).
      lv_check = lv_option->get_property_as_string( iv_attr_name = 'OPTION'   ).
      IF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
      ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
      ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_scaf.
        ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz.
      ELSEIF lv_check EQ zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
        zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_sow.
      ENDIF.
    ENDMETHOD.
    Here the LV_CHECK = old is the first radiobutton whereas LV_CHECk = new is the second radiobutton. I have tried to set the value of gv_tab ='Question' here but again no success.
    The .HTM coding of QuestionanireTABVS is
    <%@page language="abap" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <% data: ls_line                type CRMT_THTMLB_LINK,
             lv_flag                type ABAP_BOOL.
        data: lv_xml                type string.
    if zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_old.
       REFRESH controller->gt_navlink_tab[].
    *   if controller->gt_navlink_tab[] is initial.
         ls_line-id = 'Questions'.
         ls_line-onclick = 'QUEST'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
         insert ls_line into table controller->gt_navlink_tab.
         ls_line-id = 'Risks'.
         ls_line-onclick = 'RISK'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
         insert ls_line into table controller->gt_navlink_tab.
         %>
    <%--   endif.  %>--%>
    <thtmlb:tray id     = "HeaderExt"
                 indent = 'FALSE'
                 design = 'STANDARD'>
      <thtmlb:trayHeader>
        <thtmlb:grid cellSpacing = "0"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "1"
                 width       = "100%" >
          <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1"
                       >
            <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                    selectedLinkId = "<%= controller->gv_tab %>" />
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
          </thtmlb:gridCell>
        </thtmlb:grid>
      </thtmlb:trayHeader>
      <thtmlb:trayBody>
        <%
    *    data: lv_xml    type string.
        lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
        %>
        <chtmlb:config xml     = "<%= lv_xml %>"
                       mode    = "RUNTIME"  />
      </thtmlb:trayBody>
    </thtmlb:tray>
    <% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_type_new.
       REFRESH controller->gt_navlink_tab[].
    *   if controller->gt_navlink_tab[] is initial.
         ls_line-id = 'Questions'.
         ls_line-onclick = 'QUEST'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
         insert ls_line into table controller->gt_navlink_tab.
    *     ls_line-id = 'Risks'.
    *     ls_line-onclick = 'RISK'.
    *     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
    *     insert ls_line into table controller->gt_navlink_tab.
         %>
    <%--   endif.  %>--%>
    <thtmlb:tray id     = "HeaderExt"
                 indent = 'FALSE'
                 design = 'STANDARD'>
      <thtmlb:trayHeader>
        <thtmlb:grid cellSpacing = "0"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "1"
                 width       = "100%" >
          <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1"
                       >
            <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                    selectedLinkId = "<%= controller->gv_tab %>" />
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
          </thtmlb:gridCell>
        </thtmlb:grid>
      </thtmlb:trayHeader>
      <thtmlb:trayBody>
        <%
    *    data: lv_xml    type string.
        lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
        %>
        <chtmlb:config xml     = "<%= lv_xml %>"
                       mode    = "RUNTIME"  />
      </thtmlb:trayBody>
    </thtmlb:tray>
    <% elseif zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SCAF or
              zcl_gaf_adm_toolbox=>gv_matrix_mnt_type = zcl_gaf_adm_toolbox=>gv_matrix_mnt_scaf_anz  or
              zcl_gaf_adm_toolbox=>gv_matrix_mnt_type EQ zcl_gaf_adm_toolbox=>GV_MATRIX_MNT_TYPE_SOW.
       REFRESH controller->gt_navlink_tab[].
    *   if controller->gt_navlink_tab[] is initial.
         ls_line-id = 'Questions'.
         ls_line-onclick = 'QUEST'.
         ls_line-text = page->otr_trim( 'ZGAF_CRM_70/QUESTIONS' ).
         insert ls_line into table controller->gt_navlink_tab.
    *     ls_line-id = 'Risks'.
    *     ls_line-onclick = 'RISK'.
    *     ls_line-text = page->otr_trim( 'ZGAF_CRM_70/GLOBAL_RISK' ).
    *     insert ls_line into table controller->gt_navlink_tab.
         %>
    <%--   endif.  %>--%>
    <thtmlb:tray id     = "HeaderExt"
                 indent = 'FALSE'
                 design = 'STANDARD'>
      <thtmlb:trayHeader>
        <thtmlb:grid cellSpacing = "0"
                 columnSize  = "1"
                 height      = "100%"
                 rowSize     = "1"
                 width       = "100%" >
          <thtmlb:gridCell colSpan     = "1"
                       columnIndex = "1"
                       rowIndex    = "1"
                       rowSpan     = "1"
                       >
            <thtmlb:navLink links  = "<%= controller->gt_navlink_tab %>"
                    selectedLinkId = "<%= controller->gv_tab %>" />
        <bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'TABS' ) %>"
                  url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'TABS' ) %>" />
          </thtmlb:gridCell>
        </thtmlb:grid>
      </thtmlb:trayHeader>
      <thtmlb:trayBody>
        <%
    *    data: lv_xml    type string.
        lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
        %>
        <chtmlb:config xml     = "<%= lv_xml %>"
                       mode    = "RUNTIME"  />
      </thtmlb:trayBody>
    </thtmlb:tray>
    <% endif.
    %>

  • Unwanted duplication of pages when adding from another PDF?

    Hi all
    Had this a couple of times recently, when I'm cutting in pages from another PDF into a main one, for some reason it's throwing in duplicates of those new pages? Also happened to me when I saved a PDF at reduced size. Stumped! Appreciate any advice.
    Thanks
    H

    Acrobat Pro. Last time it happened, I'd PDFd the main document, with some tweaks to the preset jpeg resolutions to try to squeeze file size down a little. Then had to cut in a couple of pages from another source PDF, which was just two pages, but also on the large size. From the second source file, it wouldn't let me 'save optimised', so I opted for the reduced file size option, it allowed me to do that, but when it had saved this, it then had 14 pages! 7 of p1, 7 of p2.
    Another time, it was working from the same document, but had varying page sizes (a booklet with one of those foldout form type things at the end), the first section had to be singles, then the form section as spreads. First section and second section PDF fine. When I try to cut the form into the main one, same thing, a load of unwanted dupes.
    In both cases, it didn't want to then let me delete the unwanted pages, which would have been a quick way around it.
    Best
    H

  • Performance of loading multiple iFrames on a page

    I have a "master" Apex page with 20 iFrames, each of which loads a different Apex page (don't ask!)
    It takes quite a while to complete the loading of the whole page and all its iFrames, and I'm trying to see if there are any bottlenecks slowing things down.
    If I monitor v$sessions where the client_identifier includes my session_id while the page is loading, I never see more than 2 pages building simultaneously. This could simply be because each one builds very fast, but on the other hand could it be that there is a limit being imposed somewhere that prevents 3 or more of my pages loading simultaneously?

    Thanks, John. You put me on the right path - the browser: when I changed from IE to Firefox the number of simultaneous Oracle sessions immediately jumped to 8. Googling then found me the "Tweak Network Settings" tool which allowed me to tweak Firefox such that all 20 sub-pages got built simultaneously.
    Having done that, it was now clear that the bottleneck is not the page build anyway: all 20 Oracle sessions would complete and it still took another 10-20 seconds for the full page to appear on screen. Most of that time is the Javascript being run on each of the 21 pages - which presumably has to run serially: disable Javascript and the pages load much much faster.
    I would say that the bottleneck you're seeing is really a result of the implementation, is there perhaps another way it could be done instead of using that many iframes?For sure! But where's the fun in that ;o)

  • Accessing an IFRAME tag after page being called from Servlet

    Hi there, can anyone help me please.
    I have two JSP pages, JSP1a and JSP2. When I call JSP1a from my browser, it runs some alert messages and then calls JSP2, which does a check on my database and then returns control to JSP1a and reloads the page. This all works fine.
    I am now trying to integrate these two pages into my main app, but I get a problem. I am now calling JSP1a, from a controlling Java Servlet (my app is based around a Model 2 architecture) which fires fine, but the reference to the line
    "window.frames.hidFrame.location.href=jsp2.jsp"
    doesnt seem to work. "hidFrame" is an IFRAME in the body tag of my JSP1a page.
    Can anyone help ? why does this line not fire, when the page has been loaded from a Java Servlet ? but it fires fine when I load the page directly ? and what is the solution to get around this problem please.
    Thanks
    Robert
    JSP1a.jsp
    <HTML>
    <HEAD>
    <SCRIPT language="JavaScript" type="text/javascript">
         function checkFunction(){
              var seconds = new Date();
              alert("inside function 1c ");     
              window.frames.hidFrame.location.href = "jsp2.jsp";
         function retMessage(){
              alert("inside return function");
              window.location.reload(true);
    </SCRIPT>
    </HEAD>
    <BODY onload="setTimeout('checkFunction()',5000);">
    <p>this is JSP1a</p>
    <SCRIPT language="JavaScript">
    alert("inside main body");
    </SCRIPT>
    <IFRAME frameborder="0" id="hidFrame" style="display:none"></iframe>
    </BODY>
    </HTML>
    JSP2.jsp
    <%@ page import="java.util.*" %>
    <jsp:useBean id="dbBean" scope="application" class="myApp.DbBean"/>
    <HTML>
    <!-- JSP2.JSP -->
    <%
    boolean flag = false;
    int i=1;
    flag = dbBean.checkForUpdates();
    System.out.println("flag = " + flag);
    //if(flag == false) {
    if (i == 1){
    %>
         <BODY onload="parent.retMessage()">
    <%} else {%>
         <BODY onload="parent.setTimeout('checkFunction()', 5000)">
    <%}%>
    </BODY>
    </HTML>

    its ok, I have found the problem. Someone recommended to me to change the IFRAME tag to make it visible just while I was debugging and low-and-behold there was a 404 error message being displayed which I had no idea about. It couldnt find my JSP2.jsp page. Because I am calling JSP1a from a servlet now, I needed to add a full path to my reference so that the servlet would know where to look. I did this and it works ok. I know its probably not best practice to hard code the full path to JSP2.jsp, I guess I should go back to the servlet and call JSP2 from there ?
    Regards
    Robert

  • My weather app in my iphone4 is suddenly using another location than mine, one from another state. Tried resetting my location, but no go.

    The factory installed weather app on my iphone suddenly has started using another state as my location. I tried resetting my location several times, but no go. Any ideas how to fix this?

    Have a look at this it may help
    http://support.apple.com/kb/TS4148
    please confirm
    You did purchase your unlocked iPhone4S from an Apple Retail store and I mean the Apple Store no where else sells unlocked iPhones in the UK regardless of their claims

  • I get an error message when a page is loaded from another application

    When another application try's to load a webpage, I get a small dialog box. Across the top (border) is the webpage address, within the dialog box is the following, "there was a problem sending the command to the program".
    However, the page does load, but I have to keep clicking 'ok' to get rid of the dialog box

    You can't use Safari to download iPad apps. Only use iTunes/App Store.
     Cheers, Tom

  • I need an idea how to place multiple videos on one page

    Multiple videos on one page in Muse neded for a video portfolio..
    Anyone got a great idea how this can be done please. (or direct me to a tutorial link - doing one is all I can find)
    I am happy with either embedded or Menu linked on objects to videos.
    Youtube is hosting the videos
    I just cant find any way to put hyperlinks or urls in objects and I can not find a way to make small video players in Muse.
    If I scale the container ..things go very weird. eg the video goes tiny and into a corner.
    I feel like I am working with half a tool box!!!
    I cant even find a template where this has been done.
    Any help is appreciated. Thanx.

    That works perfectly thank you.
    Now I am wondering if I can have a single "viewer" that will play any selected video from a button , a menu or other trigger?
    Info for others if required. :  The You tube ID required in the widget setting is not the URL.  Its an alpha/numeric obtained from part of the YT embedding code.
    example - the bold underlined section
    <iframe width="720" height="405" src="//www.youtube.com/embed/w6ZcCOCihuY" frameborder="0" allowfullscreen></iframe>

  • Printing the same page multiple times on one sheet

    So last year I wanted to print out minature versions of my card design and I was able to do that by printing out multiple copies of the same thing on one sheet of paper. Of course that was a while ago and now today I can't do the same thing. I remember printing the same page(copy) multiple times either in acrobat or indesign. I see that I have a front and back version for last years card and I'm assuming I must have done it in acrobat. Last year when I looked at the preview there was multiple copies of my page. This year I only see 1 even as I choose the other things. At first I thought it might have been the version I was using on my windows as opposed to the version on my mac. But now I'm on my mac and I still don't see how I did it last year. Please help! I keep reading that this can't be done but I remember doing the same thing last year. It was the 16 copies of the same thing option. I tried it again this time but it doesn't work. I tried printing the 4 copies only 1 copy was printed.(the preview didn't even show all copies like last year) The verson of acrobat is X. version 10.1.4

    What exact version of iPhoto 9 are you using? Version 9.5's solution will be different from the solution for earlier versions of iPhoto 9.
    OT

  • Merging multiple records onto one page

    I have two questions for successfully setting up a mail merge:
    1.  I have a .csv file that contains multiple records.  All but one column contains one line of text.  I have one column in the record that contains several paragraphs of text.
    Problem:  The merge sees the paragraph returns (or line breaks) as an indicator to go to the next record.  What's the work-around for this?
    2.  I need the records to flow one after another.
    Problem:  It's merging one record per page.
    Background that may help (maybe merge is not the feature I should be using):
    I'm designing a newspaper that contains about 150 book reviews.  The reviews stem from a database that I'm exporting as a csv.  Rather than converting/formatting the reviews from the database by hand (like I have been doing), I thought InDesign must have some automated way of handling this.
    This is an example of what one record looks like:
    Italian For Beginners
    By Kristen Hammel
    Random House, $12.95, 53 pages
    Don’t be fooled by the //Italian for Beginners// cover photo of an Audrey Hepburn look-alike on the back on an Italian motorcycle with her arms around a handsome man. This novel is stronger and meatier than another  “American falls in love in Italy” love story.  Yes, the protagonist Cat Connelly escapes to Italy to find herself after tiring of being the center of everyone’s dismay as an unmarried 34-year-old overly-responsible sister, daughter, and granddaughter.
    And yes, there is romance, but it comes with a twist.  The best part of the novel is watching Cat shed her carefully constructed identity and past.  Harmel’s character discovers an authentic Rome from a family, insider’s perspective. The Italizan zest for life and her own connection to Italy allows her to throw off her accountant-style persona and take risks.  As Cat examines her deep-seated fears and biases,  she also discovers those things that give her true peace, joy and satisfaction.
    Will Cat fall in love with a handsome Italian? Or will she fall in love with her own long-suppressed Italian heritage and natural gifts? Read the novel to find out, and you’ll also find a bonus at the end of the novel: five authentic  recipes inspired by Italian for Beginners.  Mangi, mangi, buon appetito!
    Reviewed by John Smith
    Can anyone help?

    First the easy part. To get multiple records per page, create only one placeholder in the upper left position. ID duplicates EVERYTHING on the page as many times as it can using your spacing selections. If you have one element at the top of the page and another at the bottom, for example, ID will not be able to put additional records on that page because there is no space.
    Text frames should be no larger than necessary to hold the data. They won't grow or shrink to fit during the merge, so you'll have gaps if the length of the text varies from record to record.
    Now, for how to fix the line-break problem. In the data file substitute a character, or group of characters you won't be using anywhre else for each return. After the merge use Find/Change to replace the substituted cahracters with real breaks.
    Peter

  • Multiple ReCaptcha on one page

    Is there a workaround in Muse for enabling use of more than one ReCaptcha form? A easy workaround, cause my coding-skills are poor.

    Muse would not allow publishing a site with 2 forms containing reCaptcha on the same page - it will throw an error.
    What you can do is add the second form to a different page on the site, exclude that page from navigation by right-clicking page and going to Menu Options and then pulling that page in the first page via an iFrame. However, this will mean either using a Muse widget that simplifies creating an iFrame or add code (pretty simple) yourself.
    All you need to add on the first page to add an iFrame pulling in the other page is the below code:
    <iframe src="other-page.html" style="width:400px; height:500px; border-width:0px" scrolling="no"></iframe>
    You need to add the above code using the Object > Insert HTML option in Muse. You need to update the *src* value with the file name of your other page and the width and height values to suit the size of the form on the other page.
    Cheers,
    Vikas

  • Can i use multiple-Swfs in one page to implement the real multi-thread?

    When there are multiple .swfs  in one web page,  if there will be multiple instaces of flashPlayer and run in multiple thread ?-- Per Swf Per instance and Per thread, is it?

    hi,
       It will not work at all In web browser enviornment. If you considering to
    make a scheme in which u use two swfs one helper swf for background
    processing and another for Displaying Front End.Problem remains there if you
    manage to send data from your one swf to the other in same page using
    localConnection . When the processing starts in the helper swf whole page
    will going to be stucked for the period until the helper swf has done
    processing the data.So its no use at all. Altough this library can help you
    make time slice based threads http://code.google.com/p/async-threading/

  • I can not print multiple pictures on one page pse13 windows 8

    I have tried to print multiple pictures on one sheet and the program will not send it to the printer.  I went into picture package and got the 2 pics to show on one page and chose my printer, but when I hit print the screen goes back to the print page with only one pic on the page

    I don’t think it’s my printer I printed many multiple pictures with my old photoshop 5 with no prblems.  the only reason I bought photoshop 13 was because 5 would not work on my new computer with windows 8.
    Sent from Windows Mail

Maybe you are looking for