Friday, March 14, 2014

Stuck on Placement Code

Ninjas can now jump to their positions-- working on the smooth transition soon!

 //code
stage.addEventListener(MouseEvent.CLICK,fl_onStageMouseDown);
function fl_onStageMouseDown(event:MouseEvent):void
    {
        movieClip_1.x = mouseX; movieClip_1.y = mouseY;
    } 


-CJ

No comments:

Post a Comment