Hi, I am having a strange problem recently. Under FireFox2.0/Windows XP, I embed a swf object generated by laszlo. In the page, I have the following javascript:

 document.lzapp.setAttribute("height", 100)

where "lzapp" is the id of the embeded swf. It worked before, but the javascript console is telling me "setAttribute is not a function". And I tried:

 document.lzapp instanceof Element

it gives me "false". Does anyone has any clue to solve the problem or where can I go for help? What I want is to set the "height" and "width" of embeded swf object in javascript.

Thanks in advance!

Darren Cui Liang

Reply via email to