[Laszlo-dev] onrepeat actually is getting sent
P T Withington
ptw at pobox.com
Tue Jul 19 12:23:40 PDT 2005
If onrepeat and onstart are always signalled together there is no
point in having them both. Probably you should survey the users of
repeating animators to see what they think onstart means (start of
each repetition or start of the animation). It is certainly
asymmetric that you only get one onstop.
On 18 Jul 2005, at 17:19, Henry Minsky wrote:
> Hmm, the bug actually only occurs when repeat == Infinity. If it is an
> integer, the repeat events do get sent:
>
>
> <view x="50" y="50" id="foo">
> <animator name="bar" repeat="3" attribute="rotation" to="90"
> relative='true' duration="1000"
> />
> <view bgcolor="blue" width="20" height="20" x="-10" y="-10"/>
> </view>
>
>
> The events which are being generated are:
>
> .bar onstart
> .bar onrepeat
> .bar onstart
> .bar onrepeat
> .bar onstart
> .bar onfinish
> .bar onstop
>
> I think the onstart should only get sent the first time around though.
> I suppose there are people relying on this repetition of "onstart"
> events behavior , do you think a release note is enough warning if I
> 'fix' it?
>
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
>
More information about the Laszlo-dev
mailing list