[Laszlo-dev] For Review: Change 20090613-raju-r Summary: Add support for Flash Player's ability to switch to full screen mode for SWFx

Raju Bitter rajubitter at me.com
Sat Jun 13 18:57:45 PDT 2009


Change 20090613-raju-r by raju at Atlantia on 2009-06-13 23:52:31 CEST
     in /Users/rajubitter/src/svn/openlaszlo/trunk
     for http://rajubitter@svn.openlaszlo.org/openlaszlo/trunk

Summary: Add support for Flash Player's ability to switch to full  
screen mode for SWFx

New Features:

Bugs Fixed: LPP-8107

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

Documentation:
The documentation has to be updated, to reflect the new functionality.

Release Notes:
Works with Flash Player version 9.0.28. and all later versions.

Details:
http://jira.openlaszlo.org/jira/browse/LPP-8107

Embedding code
   lps/includes/sources/embednew.js
     + method lz.embed.swf
        - added allowFullScreen: properties.fullscreen
   lps/includes/sources/flash.js
     + method lz.embed.dojo
       + added value to defaults: fullscreen: true
     + lz.embed.dojo.Embed.prototype.write
       object.html: added param/attribute allowFullScreen

LFC changes for all runtimes
   WEB-INF/lps/lfc/views/LaszloCanvas.lzs
     + @initarg documentation added for fullscreen
     + public var fullscreen added
     + onfullscreen event added
     + public var diplaystate added
     + handling of @initarg fullscreen added to construct() method
     + Warning for runtimes that don't support fullscreen (DHTML)  
added to construct method
     + method function showFullScreen(fullscreen=true) added

SWF9 specific changes
   WEB-INF/lps/lfc/kernel/swf9/LzScreenKernel.as
     + Added method showFullScreen
     + Added handler for FullScreenEvent fullScreenEventHandler
   WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
     + added fullscreen: true to capabilities


Tests:
test/fullscreen/fullscreen1.lzx
Simple test file for to go into fullscreen mode by clicking a button.

Files:
A       test/fullscreen
A       test/fullscreen/fullscreentest1.lzx
M       WEB-INF/lps/lfc/kernel/swf9/LzScreenKernel.as
M       WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M       WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M       lps/includes/source/embednew.js
M       lps/includes/source/flash.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090613-raju-r.tar


More information about the Laszlo-dev mailing list