hi,

so this is my lovely code

PHP Code:
onClipEvent (enterFrame) {            
            
_root.can_mc._x += 2.6;
            
            if(
_root.can_mc._x >= 270)
                {
_root.can_mc._x =0;                
            
            
_root.random_mc.gotoAndStop(random(9));        
                        
}} 
when my movieclip (can_mc) exceeds x position 270 it returns to x position 0 and plays a random frame from my movieclip random_mc.
But what i want to know is how to get it to go to a random frame but not including frame 1, so it randomly chooses between frames 2,3,4,5,6,7,8,9.

anyone know?

thanks!