// here u can control the animation in single frame .. hope this one will // // help u out .. happy coding![]()
var dir:Number = 8
addEventListener(Event.ENTER_FRAME, animate)
function animate (evt:Event) {
chunners.x += dir;
if ( chunners.x >= stage.stageWidth)
{
dir = -dir;
} else if ( chunners.x <=0)
{
dir = -dir;
}
}




Reply With Quote