Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package michael.anim {
- import flash.display.MovieClip
- import caurina.transitions.Tweener
- public class TweenerTest extends MovieClip {
- public function TweenerTest() {
- first();
- }
- public function first() {
- Tweener.addTween(this, {x:10, y:10, time:1, transition:"easeoutelastic", onComplete:second})
- }
- public function second() {
- Tweener.addTween(this, {x:50, y:50, time:1, transition:"easeoutelastic", onComplete:first})
- }
- }
- }
Add Comment
Please, Sign In to add comment