[Laszlo-dev] Transparent Background
Max Carlson
max at openlaszlo.org
Thu Dec 31 13:51:32 PST 2009
I'd recommend passing the wmode as an argument to lz.embed.swf(), e.g.
lz.embed.swf({url: '/static/r.swf', ..., wmode: 'transparent'});
Let me know how this works for you!
On 12/28/09 11:54 AM, Lucas Lain wrote:
> Hello everybody,
>
> I looked everywhere on the web for making canvas area transparent and
> found several posts about this. Every person solved the problem with
> param tag and the wmode attribute, but I cannot make it work :(. I
> compiled the SWF with LZC (line: "lzc recorder.lzx --runtime=swf9 -o
> ../static/r.swf") Here is my html code:
>
> <div id="player">
> <object
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0">
> <param name="wmode" value="transparent">
> <embed type="application/x-shockwave-flash"
> wmode="transparent"
> src="/static/r.swf"
>
> pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/>
> </object>
> </div>
>
> lzx code:
>
> <canvas proxied="false" debug="true">
>
> <attribute name="profile" value="'lucaslain'"/>
>
> <videoview name="vid" id="vid" url="${canvas.profile}" type="rtmp">
> <microphone capturing="true"/>
> </videoview>
>
> </canvas>
>
>
> Any ideas? I see the white background in safari and firefox :(
>
> Thank you in advance,
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list