[Laszlo-dev] Re: animator events
Henry Minsky
henry.minsky at gmail.com
Mon Jul 18 13:58:31 PDT 2005
Or maybe that would be just two 'onrepeat's ?
onstart
onrepeat
onrepeat
onstop
?
On 7/18/05, Henry Minsky <henry.minsky at gmail.com> wrote:
> Also, is the onstart event supposed to get sent just once, when the
> animator starts?
> Currently it is getting sent every time the animator repeats, which it
> seems to be like
> that ought to be the onrepeat case, so what you would see for an animator
>
> <animator repeat="3" onstart="Debug.write('onstart')"
> onrepeat="Debug.write('onrepeat')" onstop="Debug.write('onstop')"/>
>
> would be
> onstart
> onrepeat
> onrepeat
> onrepeat
> onstop
>
> right?
>
>
> On 7/18/05, Henry Minsky <henry.minsky at gmail.com> wrote:
> > OK, someone reported that the animator (and animatorgroup) do not send
> > onrepeat events.
> > This appears to be true.
> >
> > Now, can someone help me out with a definitive list of events *should*
> > be getting sent, from animators and animator groups?
> >
> >
> > It looks like there is code in LzAnimatorGroup to send the onrepeat
> > event, but it is not working. And since LzAnimator is a subclass of
> > LzAnimatorGroup, it also does not work.
> >
> > As I understand it there is
> >
> > onstart
> > onstop
> > onrepeat
> >
> > I will try to ensure that these events get sent.
> >
> > + There is also a "onstarted" sent from here:
> >
> > LzAnimatorGroup.prototype.setStart = function ( start ){
> > //@field Boolean started: Value of the animator's start attribute.
> > this.started = start;
> > this.onstarted.sendEvent( start );
> >
> > Is "onstarted" really a distinct event from "onstart"? A little help here...
> >
> >
> >
> >
> >
> > + and there is also "onfinish" which looks like it is deprecated, and
> > should probably be removed at this point.
> >
> > Am I missing anything?
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > hminsky at laszlosystems.com
> >
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list