Random platform generation

i’m currently trying to make a platform game and i’m trying to have platforms come down from the top at random positions, anybody have any idea how to accomplish this ?

i tried using attachMovieClip(); and duplicateMovieClip(); and such but i’m stuck at the randomly dropping down bit i’m afraid :S