[Laszlo-dev] For Review: Change 20070810-maxcarlson-1 Summary: Fix SOLO media loading to be consistent with data in wafflecone

Max Carlson max at openlaszlo.org
Fri Aug 10 09:05:07 PDT 2007


Change 20070810-maxcarlson-1 by maxcarlson at plastik on 2007-08-10  
09:03:50 PDT
     in /Users/maxcarlson/openlaszlo/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix SOLO media loading to be consistent with data in wafflecone

New Features:

Bugs Fixed: LPP-4462 - When running a SOLO SWF in an HTML file  
located in a different directory than the SWF, data requests are made  
relative to SWF, not HTML file

Technical Reviewer: hminsky
QA Reviewer: promanik
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:  This change won't affect any of the default wrappers,  
because all the generated wrappers load the main SWF from the same  
path as the HTML.


Tests: See LPP-4462.  Change loadtest.lzx to use consistent URLS for  
the media and data loads

     <handler name="oninit">
         img.setSource("img.jpg");
         dsTestData.setSrc("testdata.xml");
         dsTestData.doRequest();
     </handler>

recompile the SOLO file (http://localhost:8080/trunk/my-apps/ 
kathrynloadtest/loadtest/loadtest.lzx?lzproxied=false) then run the  
html wrapper (http://localhost:8080/trunk/my-apps/kathrynloadtest/ 
loadtest.html).  Notice that the media and data load from a  
consistent path.  Running in the dev console with proxied on and off  
works as well.

Files:
M      WEB-INF/lps/lfc/kernel/swf/LzLoadQueue.as

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070810- 
maxcarlson-1.tar


More information about the Laszlo-dev mailing list