Need some assistance; placing random MCs

I’m new to the KirupaForums…and new to Flash. (I’m a student attending Basic Flash at my college)
Recently, one of my instructors showed me a Flash movie called “Flower Garden”. Basically, every time you click the mouse anywhere on the stage, a new flower appears. You can continue doing this until you fill up the stage. What caught my attention was how they used AS3 to attach a random MovieClip on each click of the mouse.
Having insatiable curiosity, I set about trying to emulate this interactivity. I would have rather picked something other than flowers, but I stuck with the theme I saw. So far I have two MCs named “flower1” and “flower2” respectively. I am able to get “flower1” to appear anywhere the mouse is clicked, but I’m not sure how to make Flash randomly pick between 1 or 2. (or, if I had ten MCs…how to randomly pick 1 - 10).

Here’s what I have in the first frame of my ActionScript:

[COLOR=Blue]function Main() {
stage.addEventListener(MouseEvent.CLICK,AddFlower);
}
Main();
function AddFlower(e:MouseEvent):void {
var newflower:flower1= new flower1();
this.addChild(newflower);
newflower.x = mouseX;
newflower.y = mouseY;
newflower.scaleX = 0.5;
newflower.scaleY = 0.5;
}

[COLOR=Black]Just not sure how to write the Random function into this script. Anyone have any suggestions? Any help would be greatly appreciated.
Thanks in advance,
MM

if you’re interested in seeing the actual clip my instructor showed me, go here:

http://www.procreo.jp/labo/labo16.html

[/COLOR][/COLOR]