DanteTHB
03-16-2007, 05:56 AM
Hi developers!!
I 've built my on class like this:
<library>
<class name="testclass" extends="image" width="75" height="75"
clickable="true" focusable="true" opacity="1" stretches="both">
<attribute name="image_id" type="string" value=""/>
<attribute name="image_name" type="string" value=""/>
<attribute name="image_mimetype" type="string" value=""/>
<attribute name="enabled" value="false" type="boolean" />
<handler name="oninit">
Debug.write("test oninit");
</handler>
<handler name="onmouseover">
Debug.write("onmouseover class");
</handler>
<handler name="onmousedown">
Debug.write("onmousedown class");
</handler>
<method name="setEnable" args="flag">
Debug.write("setEneable");
</method>
</class>
</library>
So, my problem here is the attribute stretches! If i want to click on the instance of this class, no onclick or onmousedown/up event is fired.
I compiled it against swf8, if i do this in dhtml onmousedown/up events are fired.
Do you have an a bug in jira? I didnīt see this one there!
Can you plz fix it?
Thx,
Dante
I 've built my on class like this:
<library>
<class name="testclass" extends="image" width="75" height="75"
clickable="true" focusable="true" opacity="1" stretches="both">
<attribute name="image_id" type="string" value=""/>
<attribute name="image_name" type="string" value=""/>
<attribute name="image_mimetype" type="string" value=""/>
<attribute name="enabled" value="false" type="boolean" />
<handler name="oninit">
Debug.write("test oninit");
</handler>
<handler name="onmouseover">
Debug.write("onmouseover class");
</handler>
<handler name="onmousedown">
Debug.write("onmousedown class");
</handler>
<method name="setEnable" args="flag">
Debug.write("setEneable");
</method>
</class>
</library>
So, my problem here is the attribute stretches! If i want to click on the instance of this class, no onclick or onmousedown/up event is fired.
I compiled it against swf8, if i do this in dhtml onmousedown/up events are fired.
Do you have an a bug in jira? I didnīt see this one there!
Can you plz fix it?
Thx,
Dante