drech
10-09-2008, 09:46 AM
Hey all,
I have this code:
<animatorgroup name="wfClose" id="wfClose" duration="2000" start="false" process="simultaneous">
<animatorgroup target="splitterTop">
<animator attribute="y" to="0" motion="linear"/>
<method event="onstart">
splitterTop.setAttribute("visibility", "visible");
splitterBottom.setAttribute("visibility", "visible");
</method>
<method event="onstop">
Debug.write("PostAnimate Stop - Close");
</method>
</animatorgroup>
<animatorgroup target="splitterBottom">
<animator attribute="y" to="${splitterTop.height}" motion="linear"/>
</animatorgroup>
</animatorgroup>
In the wfClose animation, I get the debug message sent in the onstop event. However, the onstart event never seems to be received when I call wfClose.doStart(). The animation runs, after doStart(), but nothing in the onstart handler gets executed.
Why?
I have this code:
<animatorgroup name="wfClose" id="wfClose" duration="2000" start="false" process="simultaneous">
<animatorgroup target="splitterTop">
<animator attribute="y" to="0" motion="linear"/>
<method event="onstart">
splitterTop.setAttribute("visibility", "visible");
splitterBottom.setAttribute("visibility", "visible");
</method>
<method event="onstop">
Debug.write("PostAnimate Stop - Close");
</method>
</animatorgroup>
<animatorgroup target="splitterBottom">
<animator attribute="y" to="${splitterTop.height}" motion="linear"/>
</animatorgroup>
</animatorgroup>
In the wfClose animation, I get the debug message sent in the onstop event. However, the onstart event never seems to be received when I call wfClose.doStart(). The animation runs, after doStart(), but nothing in the onstart handler gets executed.
Why?