[Laszlo-dev] [BULK] Re: Transparent Background
Max Carlson
max at openlaszlo.org
Tue Jan 5 13:21:54 PST 2010
Hmm - strange. When I click the 'Load' button I see the same results in
Safari 4.0.4 and Firefox 3.5.6 on OS X. Are you sure you're running the
latest versions of the Flash player?
You could try modifying the bgcolor of the page in the .jsp, then reload:
}
body {
background-color: #ffffff;
}
I've attached a screen shot that shows this the red through the window
(I dragged it a bit). The only other thing I can think of is updating
to a nightly build of trunk, which may have bugfixes/better support for
the HTML tag than 4.6.1. An official release of 4.7 is expected to come
out soon...
On 1/5/10 12:44 PM, Lucas Lain wrote:
> MacOS X - Firefox (I also tried with safari)
>
> OpenLaszlo Server 4.6.1
>
> Here are the two snapshots
>
>
>
> On Tue, Jan 5, 2010 at 6:14 PM, Max Carlson<max at openlaszlo.org> wrote:
>> 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
>>
>
>
>
--
Regards,
Max Carlson
OpenLaszlo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FirefoxScreenSnapz001.png
Type: image/png
Size: 44490 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20100105/4761bb6d/FirefoxScreenSnapz001-0001.png
More information about the Laszlo-dev
mailing list