[Laszlo-dev] [BULK] Re: Transparent Background
Max Carlson
max at openlaszlo.org
Tue Jan 5 12:14:15 PST 2010
Can you try this test in your browser? It should run with transparency
properly:
examples/extensions/html-swf.jsp
If not, what browser/OS combination are you using?
On 1/4/10 4:57 PM, Lucas Lain wrote:
> Thank you Max but I had no luck.
>
> Here is what I wrote in the console.
>
> lzx> canvas.bgcolor
> 16777215
>
> I think the value is set. Does anyone get the transparent canvas to work?
>
> Thank you.
>
> Lucas.
>
>
> On Thu, Dec 31, 2009 at 7:51 PM, Max Carlson<max at openlaszlo.org> wrote:
>> 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
>>
>
>
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list