macromedia.director.basics
[Top] [All Lists]

Re: Sprite Animation

Subject: Re: Sprite Animation
From: "a?ex"
Date: Sat, 30 Aug 2008 07:14:27 +0000 UTC
Newsgroups: macromedia.director.basics

Not a tutorial, but an open source example to tween a sprite can be found at:
 
http://www.farbflash.de/cgi-bin/blosxom.cgi/Dokumente/Director/Snippets/Spritetw
eening.html

 There is a link to a Shockwave demo.
 I named the menu items after the handler names, so if you choose "mScale" from 
the "Animate Sprite" menu and choose "mEaseOutBounce" you find a similar effect.

 You can just drag the behavior on your sprite and call the mScale method with 
a parameter of #mEaseOutBounce for the animationtype and an animation duration. 
Please refer to the comments in the scripts for explanations.


<Prev in Thread] Current Thread [Next in Thread>