Multiple responsive compositions on 1 page with edgecommons

Hi Guys,
I am trying to determine what in the is going on here, got two responsive compositions using edgecommons in a single html page. Below is the runtime code - however not having much luck getting them both displayed at the same time. I am able to see each composition on the page when I remove one of the two load functions, but if I use both, there is no joy. I must be doing something wrong but cannot determine what. P.S. all files and assets loaded in the root directory.
<script>
  var custHtmlRoot="";
  var script = document.createElement('script');
  script.type= "text/javascript";
  script.src = custHtmlRoot+"edge.5.0.0.min.js";
  var head = document.getElementsByTagName('head')[0], done=false;
  script.onload = script.onreadystatechange = function(){
  if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) {
  done=true;
  //1st composition
  (function() {
  var custHtmlRoot="";
  var opts ={
  scaleToFit: "none",
  centerStage: "none",
  minW: "0px",
  maxW: "undefined",
  width: "100%",
  height: "100%"
  opts.htmlRoot =custHtmlRoot;
  AdobeEdge.loadComposition('clients', 'clients', opts,
  {"dom":{}}, {"dom":{}});
  //2nd composition
  (function() {
  var custHtmlRoot="";
  var opts ={
  scaleToFit: "none",
  centerStage: "none",
  minW: "0px",
  maxW: "undefined",
  width: "100%",
  height: "100%"
  opts.htmlRoot =custHtmlRoot;
  AdobeEdge.loadComposition('solutions', 'solutions', opts,
  {"dom":{}}, {"dom":{}});
  script.onload = script.onreadystatechange = null;
  head.removeChild(script);
  head.appendChild(script);
</script>
<style>
    .edgeLoad-clients { visibility:hidden; }
    .edgeLoad-solutions { visibility:hidden; }
</style>
<body style="margin:0;padding:0;height:100%;">
  <div id="Stage1" class="clients"></div>
  <div id="Stage2" class="solutions"></div>
    <meta content="minimum-scale=1, width=device-width, maximum-scale=1, user-scalable=yes" name="viewport">
</body>
Any help would be appreciated - Cheers
Wish the adobe team would streamline this in the next update. Makes real life instances very difficult to figure out.

vivekuma,
I believe I either found the problem or at least narrowed it down. 2014.1.1 appears to have broken the Multiple Responsive Animate Compositions in an uploaded state.
I will send you the comps that I have used for testing, but it appears that the current version (2014.1.1) broke this code in an "uploaded" state. Running this code on a local web server functions perfectly fine.
Again, this code only works locally and not on an internet web host!
P.S. I have removed all instances of Edge Commons, so there are no calls to this extension library.
P.S.S. I am now using multiple compositions to serve my responsive breakpoint needs using media queries to hide and zero out stages between break points.
Thanks Vivekuma and any other Adobe Edge Animate staff who read this!
Eldin

Similar Messages

  • How do I print multiple (4) photos on one page with a border around each?

    How do I print multiple photos on one page with a border around each? I've gone the contact sheet route and adjusted the number of columns but there's only outer margins and very little white space between the photos down the middle of the page.

    Ok, now I feel stupid! I always thought I was printing 6 x 4 but now I realise I can't have done!!
    The photos that I used to print are approx. 5.2" x 4" (i.e. 4 fitted nicely on a page & I had to cut the boarder off).
    I guess I just need to play with different sizes under the 'custom' option in order to get the biggest possible picture!
    Thanks for the help

  • Give swipeleft/right gestures to multiple external compositions that are loaded with composition loader by Edge Commons

    Hello,
    I have multiple external compositions that I load in my Edge project, with the composition loader by Edge Commons.
    I would like to connect these external compositions with swipeleft / right gestures.
    When I give the containers (where the external compositions are loaded in) the swipe gestures, it
    works perfectly. But when the external compositions are loaded, the swipe gestures on the containers doesn't work anymore.
    So is it possible to give the external compositions the swipe gestures. And that when they are loaded in my Edge project, the external compositions can communicate with each other.
    For Example:
    External composition one is loaded and when I swipe to the left, external composition 2 will slide in from right to left.
    I think it must be that the external compositions have a function to control the timeline in the Edge Project.
    I hope that this is possible and can help me with the code. Or have another solution.
    Thanks!

    I think I have the same or a similar issue.
    I am using a modified version of Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
    to listen to touch swipe events in an external compositions.
    var promise = EC.loadComposition("publish/comp_01.html", sym.getSymbol("content"));
         promise.done(function(comp) {
               var stage = comp.getStage();
           // Listen for events dispatched by the external composition
                    stage.$("bg").swipeleft(function() {
                          EC.loadComposition("publish/comp_02.html", sym.getSymbol("content"));
                    stage.$("bg").swiperight(function() {
                          EC.loadComposition("publish/test1.html", sym.getSymbol("content"));
    This works great for the composition loaded by this script, but the comp.getStage function does not pick up on swipe events on anything other than the .$("bg") in this composition.
    For example I have 30 compositions each with a .$("bg") but only the one loaded by this script works with this script. I am looking for a way to universalize the event listener to work with every .$("bg") loaded into my main stage symbol.
    Do you or does anyone else have a solution?

  • Using Multiple FLV files on one page with one Flash Player

    I have a web site with 6 videos.  I am hoping to find help figuring out how best to develop the web page that will allow me to associate several FLV files with one Flash Player.  And to have each of the videos "launch" when triggered by a link containing the title.
    I have the video titles as links that will launch the associated FLV file when clicked.  It is a selection menu with the Flash player on the same page.

    I don't know which player you're using, but this is usually done with XML or Javascript files (playlists) because you can't directly link to FLVs and have them play in browsers.
    That said, Flash is dead as a web technology now because it isn't supported by all the latest and most popular web devices (iPhone, iTouch, iPads).  If you want to reach the widest possible audience with your videos, I would suggest using MP4 videos with an HTML5 player that supports playlists. 
    See Pickle Player
    http://www.pickleplayer.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Inserting values into multiple tables in one jsf page with single commit op

    hi all,
    i have two tables ,
    one is parent table and other is child record.
    record details:
    table1:(parent table)
    emplid (primary key)
    empl_name
    table 2:(child table)
    empl id ( Foreign key)
    empl_name ( Foreign key)
    contact_no (primary key)
    my senario is , i need insert values into both parent and child table in one save option.
    and both the tables will be in one jsf page.
    is this possible to do?
    thanks all,
    regards,
    M vijayalakshmi

    hi,
    i feel my question is not clear.
    let me explain my question clearly.
    1. i have two records
    *1. emp_names*
    attributes of this table is 1.emplid
    2.emp_name.
    emplid is a primary key.
    2. emp_contact
    attributes of this table is 1.emplid
    2. contact_no
    In this table emplid is forigen key from emp_name table
    contact_no is primary key.
    and my senerio is,
    for one emplid there are many contact no.
    in database diagram i have created these two entities. and from that i have generated two views objects.
    now in jsf page ,
    i shd have all fields from both the records.
    wn ever i click on add button , i shd be able to insert one complete row of data to both the tables.
    means,
    emplid
    empl_name
    contact_no.
    and if i click on commit button data shd be insert in both the tables.
    so how to achive this?
    am very beginner to the jdeveloper tool.
    regards,
    m vijayalakshmi.

  • Can I view the same pdf on multiple iPads at the same time with 1 iPad operating as the master (controlling page turns etc)?

    Would like to use 4nr iPads as an autocue system. Can I view the same pdf on multiple iPads at the same time with 1 iPad operating as the master (controlling page turns etc) and the others operating as slaves? Can this be done without the use of 3G or a remote Wifi hub? I would appreciate your input.................

    Open the document in Acrobat Reader and use the menu Window > New Window.

  • How Do I Launch Safari with Multiple Tabs Open to Specific Pages?

    I'd like a Windows shortcut that opens Safari with multiple tabs open to specific pages. With other browsers (Firefox, IE, Chrome, etc.), this is easily done by composing a command line that lists all desired URLs. However, Safari doesn't seem to use the same command line syntax as other browsers. Furthermore, I can't find Safari's command line syntax documented anywhere. From the comments I've seen while researching this question, I suspect this is a neglected area of Safari development, and that Safari simply can't be configured to open multiple pages. However, I'd like to make sure. Can it?
    -TC

    It strikes me that it should be possible to do that (or something similar) by building a safari extension, TC. Both Sessions and SafariRestore are able to launch multiple tabs from a previous session, so it seems like you should be able to create an extension that launches multiple tabs open to specific sites when Safari is launched.

  • Import multiple Word docs to multiple pages with same master page?

    Hi, I should start by saying I have no scripting experience.  However, I am wondering if there is a simple script available for the following issue:
    I have set up a master page with three linked text boxes. Right now, I use Cmd+D to select a word file, and then Shift+click in the first box to place the text on the page. But I have 125 pages that are exactly the same layout, just different Word files to be imported. I could repeat this process 125 times, but I am wondering if there is a way to tell InDesign to create 125 pages using Master Page X and import one file for each?
    I am using InDesign CS5 v 7.0.4 on Mac OSX Snow Leopard v 10.6.7
    Thank in advance for any help you can offer,
    NW

    I was able to import the word documents as long as there was only one text frame on the master page. However, when I created multiple text frames (the text in the word document needs to flow from frame 1 to frame 2), it always imported into frame 2 and skipped frame 1. In case it is helpful to understand what I mean, I attach two screenshots. The first (sans text) is the master page, and the second is Page 1 after running the script. I added the labels Frame 1 and Frame 2 to Page 1, not the Master, because otherwise the text gets imported into the frame with the words "Frame 2". I suspect I have to label the frames in InDesign and then add something to the script that says insert into the Frame 1, but I'm not sure how to do that.
    It wasn't clear from your narrative in June that the text frames were linked, and that the text needed to flow between frames.
    The script, as implemented, only overrides one text frame, (textFrames[0],  which is the top-most text frame in the stacking order), and then places the text in it. Clearly that's not correct for your scenario.
    You mention 3 frames but only mention flowing between 2 frames.
    Anyhow, it sounds like you want the script to override all 3 text frames, and then to place in the first textframe.
    The first is easy, the question is really what should happen when there are more than 3 text frames -- should it override all text frames, or only some. You could specify which ones with a Script Label, or you could do something more clever. For the moment, let's just override all text frames.
    Then you have to specify which one to place into. You could just select the frame you want and Arrange > Bring To Front. Or we could specify frames[2], which should be the 3rd-from-the-top (after frames[0] and frames[1]). I'll do the latter, but feel free to keep the script the same and do the former:
    var
        d=app.activeDocument,
        p=d.pages,
        i, frames;
    for (i=0; i<p.length; i++) {
        frames = p[i].appliedMaster.textFrames.everyItem().override(p[i]);
        frames[2].place(new File("/path/to/page"+p[i].name+".doc"));

  • Getting Started with Swept Sine (DAQmx) Multiple Response Signals

    Hi,
    I've been using the modified version of the Getting started with swept sine.vi for multiple response signals
    https://decibel.ni.com/content/docs/DOC-24474. Program fully suitable.
    However, I am facing with three issues :
    1) The edits are highly non user friendly (horrible for 6 multi-channel already), and quite long to perform.
    2) Would there be a way using for loops to have a more compact and flexible way to use FRF? (Calling 6 times the same program in a similar structure does not quite seem like a smart move yet I'm relatively novice in LabVIEW).
    3) Be able to set the number of channels somewhere in the software, and automatically have the software to be able to cope with this? (aka if 20 multichannels are needed, no need to modify the code?)
    It's probably going to be a lot of work to get there, all I'm asking for you guys is to point me in the right direction and suggestions,
    Cheers,
    Kentmey
    Kentmey

    duplicate post, continue here…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • ORACLE EXPRESS: build a page with multiple forms linked to one table

    hi,
    im using oravle application express. APEX
    i would like to build a page with multiple forms linked to one table (orders) , the page has 4 from  each one with different order_id number (depending on filtering),  and if the order is prepared click yes for each order and this 'YES' should be UPDATED AND SAVED to each order number in the same table with the press of one button.
    i created all the form as (sql query)
    and create one update process
    (UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_1
    WHERE ORDER_ID =:P10_ORDER_ID_1;
    UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_2
    WHERE ORDER_ID =:P10_ORDER_ID_2;
    UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_3
    WHERE ORDER_ID =:P10_ORDER_ID_3;
    UPDATE ORDERS
    SET TRAY_PREPARED =:P10_TRAY_PREPARED_4
    WHERE ORDER_ID =:P10_ORDER_ID_4;
    i dont know really if i can do that, but it appear hat it actually saving according to order_id number , but not all the time some time it saved the value as "null".
    please guide me what is the correct way to do this.
    I READ THIS ONE
    http://stackoverflow.com/questions/7877396/apex-creating-a-page-with-multiple-forms-linked-to-multiple-related-tables
    BUT IT WAS FOR MULTIPLE INSERT
    thanks.

    Sans,
    I am no Apex expert, but with a situation as "complex" as yours, have you thought about creating a VIEW that joins these 7/8 tables, placing an INSTEAD OF trigger on that view to do all the business logic in the database, and base your application on the view?
    This is the "thick-database" approach that has been gaining momentum of late. The idea is to put your business logic in the database wherever possible, and let the application (Form, Apex, J2EE, whatever) concentrate on UI issues,

  • I have a page with multiple quicktime players on it, and want to close all other players when any of the players is started.

    I have a page with multiple quicktime players on it, and want to close all other players when any of the players is started.
    <div id="mp3-player" style="display:none;height:15px !important;float:left;margin:0px 0 15px 0px; width:270px !important;">
                           <div style="height:15px !important;width:270px !important;">
                               <embed src='http://209.15.205.3/~cityval2/MP3/352681.mp3' width="270px" height="15px" AUTOPLAY=false CONTROLLER=true LOOP=false PLUGINSPAGE="http://www.apple.com/quicktime/" />
                            </div>
                        </div>

    One key point.
    1. Migration within  the same forest ; we can say operation is cut & paste (Source account wil be not present)
    2. Migration between the forest ; we can say operation is copy  & paste ( Source account will be present)
    Also find some ADMT cool stuffs.
    ADMT Series – 1. Preparing Active Directory
    ADMT Series – 2. Preparing the ADMT Machine
    ADMT Series – 3. SID History
    ADMT Series – 4. Password Export Server
    ADMT Series – 5. Machine Preparation
    ADMT Series – 6. Service Account Migration Wizard
    ADMT Series – 7. Group Account Migration Wizard
    ADMT Series – 8. User Account Migration Wizard
    ADMT Series – 9. Merging Users with a Different sAMAccountName
    ADMT Series – 10. Security Translation Wizard – Local Profiles
    ADMT Series – 11. Computer Migration Wizard
    Regards,
    Biswajit
    MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
    Blog:
      Script Gallary:
    LinkedIn:
    Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights..

  • Dynamic page with multiple select in where clause

    Hi,
    I have a dynamic page and in the where-clause, i have a bind variable. In a report i use for instance
    and rtrim((to_char(date_time5,'DAY'))) IN :v_day
    That works ok in a report. But it does not work in a dynamic page.
    what code is needed to work with a multiple select box on the customize screen for a dynamic page?
    Thanks.

    Hi.
    I have a dynamic page, with a bind variable :v_day. On the customization screen the user can select one or more days of the week, or all days. I use this also in a report and then it works ok. In the where clause i use:
    and rtrim((to_char(date_time,'DAY'))) IN :v_day
    Date_time is a tablecolumn (date).
    When i add this line in the select script from the dynamic page, i get error:
    : ORA-06550: line 1, column 2443:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol "(" was substituted for "" to continue.
    ORA-06550: line 1, column 2606:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( ) , * @ % & - + / at mod rem <an exponent (**)> and or ||
    The symbol ")" was substituted for ";" to continue.
    ORA-06550: line 1, column 3236:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-)
    Thanks.

  • When I print I get multiple pages with a little print on all pages of what I want printed

    when I print I get multiple pages with what I am printing with a few lines on each page till what I have printed is complete.
    This question was solved.
    View Solution.

    mamorse,
    Thanks for the additional info. Lets try downloading and running the Print and Scan doctor located here. It can fix a lot on its own but if not it will give us a better idea of what is going on. The weak signal is not likely the culprit (as it has been working for a good while) but we can try altering that if other steps fail.
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Multiple compositions on a page: first comp stops playing

    Hi everyone,
    I have two compositions on a page and I identify them within the AdobeEdge.bootstrapCallback. As soon as the user scrolls to the first animation I want to start it with an external call (compId.play()). If this is the only composition on the page it does work correctly. But as soon as the second one is added to the page it doesn't play at all. If I trigger the first animation via the console (e.g. compId.play(1000)) the animation jumps to the 1000 ms mark but then it stops immediately and doesn't play on.
    Has anyone an idea what's wrong with the setup? Any help is greatly appreciated.
    Thanks
    Marcel

    Hi Elaine,
    thank you for your help. Indeed there seems to be a conflict with the rest of the JavaScript on the page. The multicomp you've sent me works fine.
    Unfortunately I can't figure out what's going wrong as the console doesn't throw an error.
    If I make any progress on this issue I'll keep you updated.
    Thanks again
    Marcel

  • Dynamic Page with Multiple Checkboxes

    I am trying to get a dynamic page to pass the checked value of multiple checkboxes to the submit proceedure. Can anyone tell me what I am doing wrong?
    Thanks in advance,
    Pam -------------------------------------------------------------------------
    Dynamic Page:
    <HTML>
    <FORM action="scott.brsubmit" method="POST">
    <TABLE border CELLPADDING=0 CELLSPACING=0>
    <ORACLE>begin
    for c1 in (SELECT rowid,ename, job, bonus from scott.bonus_approval where approved is null)
    loop
    htp.p('<tr><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.ename);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.job);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1>');
    htp.p(c1.bonus);
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="hidden" name="p_ename" value='||c1.ename||'>');
    htp.p('<input type="checkbox" name="p_cb" value="Y">');
    htp.p('</TD><td><FONT FACE= ARIAL SIZE=1><B>');
    htp.p('<input type="checkbox" name="p_cb2" value="N">');
    htp.p('</td></tr>');
    htp.p('<br>');
    htp.p('
    end loop;
    HTP.P('</table>');
    htp.p('<p>');
    htp.p('<input type=submit value="Save" name="p_action" >');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    Procedure:
    (p_ename in portal.wwv_utl_api_types.vc_arr, p_cb in portal.wwv_utl_api_types.vc_arr, p_cb2 in portal.wwv_utl_api_types.vc_arr, p_action varchar2)
    as
    begin
    if p_action = 'Save' then
    for i in 1..p_ename.count loop
    if (p_cb(i) = 'Y') then
    update scott.bonus_approval set approved = p_cb(i) where ename = p_ename(i);
    COMMIT;
    else
    if (p_cb2(i) = 'N') then
    update scott.bonus_approval set approved = p_cb2(i) where ename = p_ename(i);
    COMMIT;
    END IF;
    end if;
    end loop;
    end if;
    htp.print('<script language="JavaScript">');
    htp.print('function display() {
    var msg = "\nRecord Saved Successfully\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display()');
    htp.print('</script>');
    exception
    when others then
    htp.print('<script language="JavaScript">');
    htp.print('function display2() {
    var msg = "\nRecord Not Saved.\n";
    alert(msg)');          
    htp.print('}');
    htp.print('display2()');
    htp.p('Not saved');
    htp.print('</script>');
    end;

    Hi.
    I have a dynamic page, with a bind variable :v_day. On the customization screen the user can select one or more days of the week, or all days. I use this also in a report and then it works ok. In the where clause i use:
    and rtrim((to_char(date_time,'DAY'))) IN :v_day
    Date_time is a tablecolumn (date).
    When i add this line in the select script from the dynamic page, i get error:
    : ORA-06550: line 1, column 2443:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol "(" was substituted for "" to continue.
    ORA-06550: line 1, column 2606:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( ) , * @ % & - + / at mod rem <an exponent (**)> and or ||
    The symbol ")" was substituted for ";" to continue.
    ORA-06550: line 1, column 3236:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    The symbol (WWV-11230)
    Critical Error in wwerr_api_error.get_errors! SQL Error Message: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-)
    Thanks.

Maybe you are looking for

  • Problem Accessing the iSQPlus in Oracle 10g

    Hi, What is the possible cause of this problem: Can't access the iSQLPlus in the browser. Message was edited by: knight

  • Trading partner issue

    Hi Guru's when i have tried to clear GL account 556699 (inter company account)  is was giving an error saying that consolidated companies are different, I have checked with OSS note and activate intercompany trading field for documents type in test s

  • Interactive report without a select... from satement ...

    other than using a web service is there any way to create an interactive report with out using a select ...from ....? I have been told that I am not allowed to use selects other than from a package. Could a ref cursor be used?

  • BDC for  J1IEX_C

    Hi all, How can I call J1IEX_C w.r.t. Material Document. I have Mat. Doc. and I want call J1IEX_C transaction in other PAI module .  Thanks In Advance Dhanu.

  • Mount

    Hello All, When we mount a daatabase and don't open it, we can query from the dynamic performance views. The same time we are not able to query from other normal tables of dictionary. SQL> select * from all_users; select * from all_users ERROR at lin