Anyone know this ?

mt1 wrote:

For example, the following code is setting the canvas attribute with using lzSetCanvasAttribute method, that is contained in the embed.js file. You can work it in case of using 'resizeTo()', but do not work it with lzSetCanvas..().
My question is,
1. Can i set the canvas attributes after it has been initialized ?

No. This is what I get in the debugger window if I attempt to change the canvas size after it has initialized:

lzx> canvas.setWidth(200)
ERROR: setWidth cannot be called on the canvas.

What are you trying to do? There may be a workaround.

Dan Stowell / Software Engineer
Laszlo Systems / http://laszlosystems.com
[EMAIL PROTECTED]

Reply via email to