Hi Augusto,
We give the flash movie a height and width of 100%, put the flash movie
inside a <div id="lzappDiv"> and then control the height and width of
that <div>.
For flash, we use SWFObject and our code looks like:
var so = new SWFObject( ... );
so.write("lzappDiv");
For DHTML, our code looks like:
var props = { 'appenddivid' : 'lzappDiv', ... };
lz.embed.dhtml(props);
--Michael
On 6/27/2012 4:10 PM, augusto callejas wrote:
hi-
i'm using openlaszlo 4.9.0, and i have my app embedded in an html page with a
javascript call that looks like:
lz.embed.swf({url: '/app.lzx', bgcolor: '#ffffff', width: '500', height:
'200', id: 'lzapp', accessible: 'false'});
its not respecting the width and height passed in (instead its taking up the
entire browser screen).
i also tried specifying the width and height by appending "px" to "500" and
"200", but that doesn't work either.
ideas?
thanks,
augusto.