Yes, I realised later about the bad choice of the onmove example, but at
least you got what I meant :)

Your idea for an AnimEvent sounds very interesting, have you developed
anything from it yet?

----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 25, 2001 10:10 PM
Subject: Re: [Dynapi-Dev] animation invokeEvent


> I have actually been contemplating the same change.
>
> As with a mouse evnt, we could listen for a common "animstart" event.
Then
> each event could have it's own type such as "hover", "slide", etc.
>
> The possibility then arises fir the use of an AnimEvent object that could
> contains values such as "frame", "x", "y", "animobj" and the like.  This
> would make a more structured and common setup across the various events
> being triggered.
>
> BTW: at the moment, I think it is possible to listen for an "onmove" event
> to create a common listener for the scenario you described.  As for the
> "stop" event, I can't think of any quick solution.
>
> >From: "Colin Thompson" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Subject: [Dynapi-Dev] animation invokeEvent
> >Date: Sun, 25 Nov 2001 16:51:18 -0000
> >
> >Curently each animation, circle, path etc generates it's own events ie -
> >circlerun, pathstart etc..
> >should they all not invoke the same events? such as a onmove event.
> >
> >for example..
> >
> >you create a layer and attach it to a path, a circle and a hover
animation,
> >and you want to know when that layer starts moving.
> >
> >From what I can tell, you would have to listen for 3 different kinds of
> >event just to find out your layer is moving and another 3 to tell when it
> >stops.
> >
> >wouldn't it be more sensible to use just 2 event listeners to listen for
> >move/stop events and then find out what caused the events by some other
> >means?
> >
> >Am I missing the point? is there some way your supposed to do this?
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to