import fl.motion.Motion; import fl.motion.MotionBase; import fl.motion.AnimatorFactory; import flash.geom.Point; import flash.events.Event; var motion: MotionBase; if (motion == null) { motion = new Motion(); motion.duration = 200; // Motion array motion.addPropertyArray("x", [0, 30, 50, 80, 120, 150, 200, 250, 300, 350, 400]); motion.addPropertyArray("y", [0, 30, 50, 80, 100, 120, 140, 160, 180, 180, 160]); var animFactory: AnimatorFactory = new AnimatorFactory(motion); animFactory.addTarget(mc); }
- - , .
برچسب:
نویسنده: محمد رضا جوادیان