Approved!

Change 20070824-maxcarlson-T by [EMAIL PROTECTED] on 2007-08-24
17:21:11 PDT
     in /Users/maxcarlson/openlaszlo/legals-clean
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Add onload event that fires rowser javascript when the app
is done loading

New Features:

Bugs Fixed: LPP-4578 - Add API to find out when an LZX app has been
loaded

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

Documentation:

Release Notes:

Details: LzSprite.js - Store propcache.id for use in canvas init
callback.  Add callback when canvas is initted.

LzBrowser.as - Clear out __jscallback if it's not a valid function.

embednew.js - Store necessary state in swfEmbed and dhtmlEmbed to get
unified _ready() call later.  Move addLoadedListener() call to
swfEmbed().  Fix _loaded to call _ready() in the correct scope.  Fix
scope in _setCanvasAttributeQ().  Add implementation of _ready()
which checks for the presence of an onload method.  If present, it is
called.  Clean up error for early _getCanvasAttributeSWF() calls.
_callMethodSWF() calls queue until flash is ready.

Tests:

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/services/platform/swf/LzBrowser.as
M      lps/includes/source/embednew.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070824-
maxcarlson-T.tar


Reply via email to