Change 20090903-maxcarlson-P by maxcarl...@bank on 2009-09-03 13:19:47 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Add APIs for setting load timeouts, explicit callback for library loads
Bugs Fixed: LPP-8444 - Remove explicit kernel references to the canvas
Technical Reviewer: hminsky
QA Reviewer: ptw
Details: This change minimizes the amount of references to the canvas by adding
callbacks for fullscreen APIs. It turns out <import/> isn't allowed anywhere
but on the canvas, so the node's parent works just fine for a callback scope.
Otherwise, the same:
LzMediaLoader, LzSprite - Add explicit sprite APIs for
LzSprite.setMediaLoadTimeout() and LzSprite.setMediaErrorTimeout(). Read
values stored in sprite when loading media.
LzLibraryLoader, LzLibrary - Use shared callback for library load events.o
LzScreenKernel - Add callback for fullscreen events, use it.
LaszloCanvas - Add setters for medialoadtimeout and mediaerrortimeout
attributes, always call them when the canvas is constructed. Add shared
callback for library load events. Update fullscreen APIs to use callbacks.
Tests: test/snippets/import-view.lzx, and lzpix across swf8, swf10 and dhtml,
test/fullscreen/fullscreentest_working_SWF8_SWF9.lzx across swf8 and swf10.
Files:
M WEB-INF/lps/lfc/kernel/swf/LzMediaLoader.lzs
M WEB-INF/lps/lfc/kernel/swf/LzScreenKernel.as
M WEB-INF/lps/lfc/kernel/swf/LzLibraryLoader.lzs
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M WEB-INF/lps/lfc/kernel/dhtml/LzLibrary.js
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/swf9/LzScreenKernel.as
M WEB-INF/lps/lfc/kernel/swf9/LzLibrary.as
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090903-maxcarlson-P.tar
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews