pacohernandezg
08-13-2006, 04:55 AM
Hello,
I have a dilemma, if I compile for Flash 7 there is a bug and if I compile for Flash 8 there is another bug.
For example,
<canvas>
<text name="mytext" text="Hello World!"/>
<view name="myicon"/>
<button text="Set icon" onclick="parent.myicon.setSource('help.png')"/>
<button text="Bold" onclick="parent.mytext.setAttribute('fontstyle', 'bold')"/>
<button text="Plain" onclick="parent.mytext.setAttribute('fontstyle', 'plain')"/>
<simplelayout/>
</canvas>
If you go to http://.../example.lzx?lzr=swf7 and click on "Set icon" button, the help icon appears defective (broken). The other buttons work as expected.
If you go to http://.../example.lzx?lzr=swf8 and click on "Set icon" button, the help icon appers as expected, but if you click on "Bold" button and then on "Plain" button, the text doesn't show as plain again.
I have the latest Flash player available (9.0.16.0).
I have the latest OpenLaszlo 3.3.3.
Any ideas?
Thanks a lot.
I have a dilemma, if I compile for Flash 7 there is a bug and if I compile for Flash 8 there is another bug.
For example,
<canvas>
<text name="mytext" text="Hello World!"/>
<view name="myicon"/>
<button text="Set icon" onclick="parent.myicon.setSource('help.png')"/>
<button text="Bold" onclick="parent.mytext.setAttribute('fontstyle', 'bold')"/>
<button text="Plain" onclick="parent.mytext.setAttribute('fontstyle', 'plain')"/>
<simplelayout/>
</canvas>
If you go to http://.../example.lzx?lzr=swf7 and click on "Set icon" button, the help icon appears defective (broken). The other buttons work as expected.
If you go to http://.../example.lzx?lzr=swf8 and click on "Set icon" button, the help icon appers as expected, but if you click on "Bold" button and then on "Plain" button, the text doesn't show as plain again.
I have the latest Flash player available (9.0.16.0).
I have the latest OpenLaszlo 3.3.3.
Any ideas?
Thanks a lot.