History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-5857
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P0 P0
Assignee: Max Carlson
Reporter: Max Carlson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Add swf9 browser javascript communication support

Created: 23/Apr/08 09:21 AM   Updated: 19/Aug/08 08:10 PM
Component/s: Kernel - swf9
Affects Version/s: Yodel
Fix Version/s: KrispyKreme (4.2 Beta)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 10,721
Runtime: N/A
Fix in hand: False


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Amy Muntz - 04/Jun/08 11:42 AM
Deferring to next release.

Max Carlson - 19/Aug/08 08:10 PM
r10721 | max | 2008-08-19 20:10:04 -0700 (Tue, 19 Aug 2008) | 34 lines
Changed paths:
   M /openlaszlo/trunk/WEB-INF/lps/lfc/LaszloLibrary.lzs
   A /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/DojoExternalInterface.as
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/Library.lzs
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzBrowserKernel.lzs
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
   M /openlaszlo/trunk/WEB-INF/lps/lfc/services/LzUtils.lzs
   M /openlaszlo/trunk/lps/includes/source/flash.js
   M /openlaszlo/trunk/lps/includes/source/lzhistory.js
   M /openlaszlo/trunk/test/lfc/legals/testjscomm/test.js
   A /openlaszlo/trunk/test/lfc/legals/testjscomm/test9.jsp

Change 20080819-maxcarlson-B by maxcarlson@Bank on 2008-08-19 18:26:05 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Add swf9 browser JS communication

Bugs Fixed: LPP-5857 - Add swf9 browser javascript communication

Technical Reviewer: promanik
QA Reviewer: hminsky

Details: test9.jsp - Add test for swf9

test.js - Update to skip amperstands for keyboard typing test

DojoExternalInterface.as - Add swf9 implementation

LzBrowserKernel.lzs - Implement callJS() and __jsready().

Library.lzs - Include DojoExternalInterface.as

LzSprite.as - Register callbacks and send oninit event from root sprite init()

LzUtils.lzs - Add extra test to look up 'lz' since there is no global object introspection in AS3

LaszloLibrary.lzs - Instantiate DojoExternalInterface for swf8 and swf9.

lzhistory.js - Use lz.History... instead of LzHistory.

flash.js - Comment out all flash-6 specific code, reduce object lookups.

Tests: test8.jsp runs as before. test9 now works also. The mouse wheel now works on OS X for /test/lfc/legals/keyboardandmouse.lzx?lzr=swf9