Forked from: turipat's HelloAnimation diff:1 forked from: HelloAnimation hacker_9p8x8.. forked:0favorite:0lines:19license : MIT License modified : 2009-08-04 14:39:12 Embed Tweet // forked from turipat's HelloAnimation package { import flash.display.*; import fl.transitions.Tween; import fl.transitions.easing.*; public class HelloAnimation extends MovieClip { public function HelloAnimation() { var mc = new Sprite(); mc.graphics.beginFill(0xFF0000); mc.graphics.drawCircle(0, 50, 50); var mc2 = new Sprite(); mc2.graphics.beginFill(0x0000FF); mc2.graphics.drawCircle(0, 150, 50); this.addChild(mc); this.addChild(mc2); var tw = new Tween(mc, "x", Elastic.easeOut, 0, 300, 3, true); var tw2 = new Tween(mc2, "x", Elastic.easeOut, 0, 300, 3, true); } } } Code Fullscreen Preview Fullscreen