Actionscript for rain effect - is this right?

Hi,

I’ve been trying to create a rain drop effect in my flash document. First I created a raindrop movie clip symbol. Then I wanted to place it in the stage and recreate it many times using action script.

The following are the Action scripts I used (I am a novice in ASP)

  1. Set variable
  2. duplicatemovieclip
  3. set property of x position

I wanted raindrops to be duplicated randomly along the x scale of the screen. But it’s not at all working. I tried using various values of 50, 100, 10 etc. for duplicating along x axis . but still not working out.

Is this correct or have I missed out something important?