Really? Which browser are you using? On clean TOT legals, they both
resize for me when running sizebug.jsp - note that there's a lag for the
top blue box - it's running in DHTML. Only Flash resizes in real time.
I'm on OS X, Flash 9.0.47 Firefox 2.0.0.6.
Philip Romanik wrote:
Approved.
When resizing the browser the embedded swf app does not resize to 40% of
the browser width like the embedded dhtml app. I guess this is a
separate issue.
20070824-maxcarlson-s by [EMAIL PROTECTED] on 2007-08-24 16:48:32 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix size of embedded DHTML apps
New Features:
Bugs Fixed: LPP-4579 - DHTML apps aren't sized properly when embedded
in a page with other HTML
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzSprite.as - Add capabilities.readcanvassizefromsprite entry.
LzSprite.js - Set the container div's width and height like the
flash embed script does. Add capabilities.readcanvassizefromsprite
entry. Avoid clipping if capabilities.canvas_div_cannot_be_clipped
== true.
LaszloCanvas.lzs - Only read sprite properties if
capabilities.readcanvassizefromsprite == true.
embednew.js - Store the correct sizes in the propcache.
Tests: See LPP-4579
Files:
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M lps/includes/source/embednew.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070824-
maxcarlson-s.tar
--
Regards,
Max Carlson
OpenLaszlo.org