Loop tweener
function looptheloop() {
var ramX = Math.floor(Math.random()*2000);
Tweener.addTween(mc,{x:ramX,time:0.3,transition:'easeInOutElastic',
onComplete:function () {looptheloop();}});
}
looptheloop()
function looptheloop() {
var ramX = Math.floor(Math.random()*2000);
Tweener.addTween(mc,{x:ramX,time:0.3,transition:'easeInOutElastic',
onComplete:function () {looptheloop();}});
}
looptheloop()