addEventListener(Event.ENTER_FRAME, onEnterFrame); function onEnterFrame(event:Event):void { ball1.x += Math.round(Math.random()*5); ball2.x += Math.round(Math.random()*5); }
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders