[Laszlo-dev] Update: For Review: Change 20080910-bargull-UYc Summary: UPDATED: Send resource failure information

André Bargull andre.bargull at udo.edu
Thu Sep 11 03:26:39 PDT 2008


> I'm concerned this violates encapsulation by sending internal sprite 
> objects into the view system - swf9 sends an event object, while swf8 
> sends null.  If all sprites sent a status string, I'd feel much better 
> about this...
Thanks for catching the swf9-case, I think I've addressed it now. It 
also brought an additional bonus: the "onerror"-event wasn't fired in 
swf9 at all, that's now fixed, too.

----------

Change 20080910-bargull-UYc by bargull at dell--p4--2-53 on 2008-09-10 11:34:15
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: UPDATED: Send resource failure information

New Features:

Bugs Fixed: LPP-6956

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
The kernel classes send additional information which isn't passed on to 
the LzView-functions.

Updates:
LzSprite (dhtml):
- don't send objects with superfluous information
LzSprite (swf9):
- accessing the loader through the event throws an IOError while 
dispatching an IOErrorEvent,
therefore moved the code to the "Complete"-Event path
- set "loadration" to 1 when data loaded completely


Tests:
attached testcase to bugreport

Files:
M WEB-INF/lps/lfc/views/LaszloView.lzs
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20080910-bargull-UYc.tar




More information about the Laszlo-dev mailing list