[Laszlo-dev] For Review: Change 20070122-maxcarlson-z Summary: Make canvas resizing work in both SWF and DHTML.
Max Carlson
max at openlaszlo.org
Mon Jan 22 12:58:12 PST 2007
Change 20070122-maxcarlson-z by maxcarlson at max-carlsons-
computer.local on 2007-01-22 12:51:28 PST
in /Users/maxcarlson/openlaszlo/legals
Summary: Make canvas resizing work in both SWF and DHTML.
New Features: Added callJS() to dhtml (just does an eval)
Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Henry, this might help with the context menu bug in IE...
html.lzx - Use new canvas resizing code
LzScreenKernel.as - Capture and send canvas/window resize events
Library.lzs - Include LzScreenKernels
LzScreenKernel.js - Capture and send canvas/window resize events
LzKeyboardKernel.js - Capture events after callback is set up
LzSprite.js - Set flag to scale canvas to percentage values
LzMouseKernel.js - Capture events after callback is set up
LzBrowser.as - Clean up @flashspecific directives
LzBrowser.js - Add callJS(), clean up @flashspecific directives
LzPlatform.as - Remove canvas resize listening code
LaszloCanvas.lzs - Clean up swf-specific code, unused methods,
initialization. Added callback for LzScreenKernel window resize events.
app-console_jp.xslt - Added updated japanese app console from Togawa-san
app-console.xslt - Canvas size now accurate with percentage values
Tests: Canvas resizing (with percentage values) now works in DHTML
and SWF! Before, it only worked with lzt=html, and didn't account
for scrollbars when measuring the screen size. SWF and DHTML canvas
sizes are identical in almost all cases.
Files:
M test/extensions/html.lzx
A WEB-INF/lps/lfc/kernel/swf/LzScreenKernel.as
M WEB-INF/lps/lfc/kernel/swf/Library.lzs
A WEB-INF/lps/lfc/kernel/dhtml/LzScreenKernel.js
M WEB-INF/lps/lfc/kernel/dhtml/LzKeyboardKernel.js
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
M WEB-INF/lps/lfc/kernel/dhtml/Library.lzs
M WEB-INF/lps/lfc/services/LzBrowser.as
M WEB-INF/lps/lfc/services/LzBrowser.js
M WEB-INF/lps/lfc/views/platform/swf/LzPlatform.as
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M WEB-INF/lps/templates/app-console_jp.xslt
M WEB-INF/lps/templates/app-console.xslt
M lps/includes/source/embed-library.lzs
M lps/includes/source/flash.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070122-
maxcarlson-z.tar
More information about the Laszlo-dev
mailing list