[Laszlo-dev] Cant set the background color for the Canvas at runtime

Bharath Kumar bkumar at laszlosystems.com
Wed Oct 29 10:39:40 PDT 2008


Bharath Kumar wrote:
> I have a couple of questions regarding background color.
>>
>> 1. I recently found that I cant set the background color of the 
>> canvas at runtime (say oninit handler or from the debugger)
>>    Any suggestions why this is happening to me ?
>>
>> 2. When we use embed-compress.js lib to embed a swf inside a HTML 
>> file, the background color specified in the main.lzx file for the 
>> canvas is not being used.
>>     The only way to specify the background color in this case is 
>> within the .js file. Is there any particular reason this behavior is 
>> as it is ?
>>
>> Thanks in advance for your reply.
>>
>> BK
>>
>>
>
>




More information about the Laszlo-dev mailing list