As3代码动画引用实例代码

作者:袖梨 2022-06-28
 代码如下 复制代码

import fl.motion.Animator;
import fl.motion.MotionEvent;
//flash cc生成
var ax1:XML =
   
       
           
               
           

           
               
           

       
   
 
   
       
           
       

   

 
   

 
//引用循环播放
var city_animator:Animator = new Animator(ax1,ctmc);
city_animator.play();
city_animator.addEventListener(MotionEvent.MOTION_END,afterMotion);
function afterMotion(e:MotionEvent) {
            city_animator.play();
        }

相关文章

精彩推荐