5 Replies Latest reply on Jan 8, 2016 3:24 AM by Garethbird

    how to host assets on a different server and banner on a website now nor preload file is provided

    Garethbird

      Hi i use to insert a banner i made into a website but has to store the assets else where, this was relatively easy as when you published you go the assets and a _preLoad file which you could chnage the src path like :

      <div id="Stage" class="trucks" style="text-align: right;"></div>

      <!--Adobe Edge Runtime--><script src="http://www.mydomain.co.uk/trucks/trucks_edgePreload.js" type="text/javascript" charset="utf-8"></script><!--Adobe Edge Runtime End-->

       

      But in 2015 they have changed the format and you do not get a preload file so how can i still creat the same.  I did try to import in to dreamweaver as I thought i would get all the assest a dn I could changethe path easily but it imports as an objetc :

       

       

      <object id="EdgeID" type="text/html" width="828" height="280" data-dw-widget="Edge" data="/../../../../1 dreamwever edge aniamte/Edge-Master/used--trucks-deploy/Assets/used-trucks-deploy.html">

      </object>

       

      Any ideas how I can change th epaths etc and make this work?

       

      Thanks

        • 1. Re: how to host assets on a different server and banner on a website now nor preload file is provided
          joel_pau Level 5

          hi,

           

          You have to use the root html option with latest versions.

          • 2. Re: how to host assets on a different server and banner on a website now nor preload file is provided
            joel_pau Level 5

            Here is a case: Bug. Can't put two Edge Animate animations on same page

            Look at  these lines:

            var custHtmlRoot="edgeanimate_assets/new_indigo_logo/Assets/";

            opts.htmlRoot =custHtmlRoot;

            AdobeEdge.loadComposition('new_indigo_logo', 'EDGE-826742', opts,

            1 person found this helpful
            • 3. Re: how to host assets on a different server and banner on a website now nor preload file is provided
              Garethbird Level 1

              Hi thanks for the reply, sorry I dont fully understand,

              so now the html file looks like this :

               

              So what do I change now so I can install the code in one website and then have it pulling all the assets from a nother server.  Thanks for looking ;-)

               

              <head>

              <!--Adobe Edge Runtime-->

                  <script type="text/javascript" charset="utf-8" src="http://animate.adobe.com/runtime/6.0.0/edge.6.0.0.min.js"></script>

                  <style>

                      .edgeLoad-used-scania-trucks { visibility:hidden; }

                  </style>

              <script>

                 AdobeEdge.loadComposition('used-trucks', 'used-trucks', {

                  scaleToFit: "none",

                  centerStage: "none",

                  minW: "0px",

                  maxW: "undefined",

                  width: "808px",

                  height: "260px"

              }, {"dom":{}}, {"dom":{}});

              </script>

              <!--Adobe Edge Runtime End-->

               

              </head>

              <body style="margin:0;padding:0;">

                  <div id="Stage" class="used-trucks">

                 

                      <div id="Stage_Rectangle" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_used-truck-1" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_used-truck-2" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_used-truck-3" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_used-truck-4" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_used-truck-53" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_used-truck-62" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_Logo_SlvPrtH2" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_transparent_text_box_bottom" class="edgeLoad-used-trucks"></div>

                      <div id="Stage_haydocks-logo-large" class="edgeLoad-used-scania-trucks"></div>

                      <div id="Stage_a_good_quality_used_trucks" class="edgeLoad-used-trucks"> Quality Used Scania Trucks</div>

                      <div id="Stage_b_Quality_Ex-Contract_Scania_Trucks" class="edgeLoad-used-trucks">Quality Ex-Contract Scania Trucks</div>

                      <div id="Stage_c_Specialist__Solution_Scania_Trucks" class="edgeLoad-used-trucks">Specialist  Solution Trucks</div>

                      <div id="Stage_d_truck_Dealer_Assistance__Services" class="edgeLoad-used-trucks">Dealer Assistance &amp; Services</div>

                      <div id="Stage_f_lorry_Dealer_Assistance__Services" class="edgeLoad-used-trucks">Scania Dealer Assistance &amp; Services</div>

                      <div id="Stage_e_Attractive_Finance_Packages" class="edgeLoad-used-trucks">Attractive Finance Packages</div>

                      <div id="Stage_Scania-Logo_WhtPrtV" class="edgeLoad-used-scania-trucks"></div>

                  </div>

              • 4. Re: how to host assets on a different server and banner on a website now nor preload file is provided
                joel_pau Level 5

                I read again and i saw: " I did try to import in to dreamweaver ".

                Your answer is here: Using responsive Edge Animate compositions in Dreamweaver « Adobe Edge Animate Team Blog. There is a demo file at the bottom of the page.

                It runs with latest versions (Edge 5 and 6).

                1 person found this helpful
                • 5. Re: how to host assets on a different server and banner on a website now nor preload file is provided
                  Garethbird Level 1

                  Thanks for you r reply.

                   

                  I do not want to use in dream weaver that is just a goose chase support put me on. I can make it work in dreamweaver no problem.

                   

                  I just want the comp to show on one website and the assets stored on a different server so I need to know how I now write the html code to insert into the web page and how and what I have to change the path addresses of which will then be on another server.

                   

                  Support have since come back and said that if i change to version 2014.0.1 which fixes the problem with comps not working with IE 11 and has seperate pre load files so I can do it as i use to do it.

                   

                  However I would still like to know how to do it with the latest version!

                   

                  Appriciate any help you can give.