[Tweener] onComplete event

Zeh Fernando zeh at zehfernando.com
Fri Nov 6 07:24:50 PST 2009


Honestly there's nothing that I can say other than "it shouldn't be
happening". Your code is straightforward and as expected. Usually when you
see people complaining about events firing too early is because they have
added a "()" after the function name parameter (thus calling the function
instead of passing it as a reference), but it's not something you've have
done so I don't see any reason for that behavior.

It's likely that the problem is somewhere else.

Zeh

On Fri, Nov 6, 2009 at 10:05 AM, Vandana Gunwani
<vandana.gunwani at gmail.com>wrote:

> Hi,
>
> I am using Tweener with Papervision3D.
>
> I am zooming in on a plane using the following code:
> Tweener.addTween(do3d, {time:0.5, transition:easingEquation, z:-200,
> onComplete:notifyZoomIn});
>
> When the zoom completes, I want to replace the plane with another view. But
> the 'onComplete' event gets triggered very early (even before the zoom has
> completed).
>
> Can someone please help with this.
>
> Thanks,
> -Vandana
>
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20091106/8cf57877/attachment.htm>


More information about the Tweener mailing list