mico
08-04-2008, 11:37 PM
<canvas debug="true">
<button text="immediately">
<method event="onclick">
temp = new lz.borderedbox1(canvas,{});
Debug.write(hahaha.constructor["tagname"]);
Debug.write(hahaha.constructor["classname"]);
Debug.write(this.constructor["tagname"]);
Debug.write(this.constructor["classname"]);
</method>
</button>
<class name="box" height="30" width="30" bgcolor="red"/>
<simplelayout spacing="5"/>
<class name="borderedbox1" extends="box"/>
<borderedbox1 id="hahaha"/>
</canvas>
see this code , i though the button should have a "tagname" with "button"
but found result was
borderedbox1
$lzc$class_borderedbox1
button_$$2Etmp_C697C77B63C2714AA45A51E9F3163AFA_he llo$2Elzx_2_32
$lzc$class_button_$$2Etmp_C697C77B63C2714AA45A51E9 F3163AFA_hello$2Elzx_2_32
runtime swf,ff3,OL4.1.1
<button text="immediately">
<method event="onclick">
temp = new lz.borderedbox1(canvas,{});
Debug.write(hahaha.constructor["tagname"]);
Debug.write(hahaha.constructor["classname"]);
Debug.write(this.constructor["tagname"]);
Debug.write(this.constructor["classname"]);
</method>
</button>
<class name="box" height="30" width="30" bgcolor="red"/>
<simplelayout spacing="5"/>
<class name="borderedbox1" extends="box"/>
<borderedbox1 id="hahaha"/>
</canvas>
see this code , i though the button should have a "tagname" with "button"
but found result was
borderedbox1
$lzc$class_borderedbox1
button_$$2Etmp_C697C77B63C2714AA45A51E9F3163AFA_he llo$2Elzx_2_32
$lzc$class_button_$$2Etmp_C697C77B63C2714AA45A51E9 F3163AFA_hello$2Elzx_2_32
runtime swf,ff3,OL4.1.1