count = 0; onMouseDown = function () { newFlower = this.createEmptyMovieClip("whole"+count++, 10); with (newFlower) { var numPetals = (Math.ceil(Math.random()*10))+2; trace(numPetals); angle = 360/numPetals; trace("angle="+angle); var rotation = rotation+angle/2; for (i=0; i