[Laszlo-dev] onrepeat actually is getting sent

Henry Minsky henry.minsky at gmail.com
Mon Jul 18 14:19:14 PDT 2005


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



More information about the Laszlo-dev mailing list