[Laszlo-dev] Query args width and height processed by LaszloCanvas.lzs#construct()
Sarah Allen
sarah at ultrasaurus.com
Sat Jul 18 18:09:18 PDT 2009
It does seem like a useful feature in case you want to use a swf
embedded in something that is not a browser (although I suppose you
could always write it yourself in code, so maybe it is not worth
maintaining)
Just curious... why does it interfere with full screen mode? I would
think that would happen long after canvas construct...
On Jul 18, 2009, at 5:47 PM, Raju Bitter wrote:
> A user in the forums ran into a problem with full screen mode.
> Here's the thread:
> http://forum.openlaszlo.org/showthread.php?t=13774
>
> Here's the test page as well. The left application scales when going
> into fullscree, the right one doesn't. For both the canvas width &
> height are set to 100%. The customer wants to use the following
> query vars attached to the SWF:
> http://www.simplylearnt.com:5080/xmlcrm/slTest.swf?test_id=_-epinfoways&type=share&partner=fachak&width=500&height=400
>
> The usage of the args with the name width and height is processed by
> LaszloCanvas.lzs#construct(), here are the relevant lines (line
> 307-12)
> // Default to arg values
> var width = args.width;
> var height = args.height;
> var bgcolor = args.bgcolor;
> delete args.width;
> delete args.height;
> delete args.bgcolor;
>
> Is that a feature we still use? Looks like it might be used, so we
> should probably advise programmers not too attach any query strings
> with those names to the SWF, if they plan to use full screen.
>
> - Raju
>
More information about the Laszlo-dev
mailing list