Help with duplicait movie clip

hi, ok so my problem is :hangover: : i have 2 buttons, when i press one of them his value of “i” changed to “i++” and when i press the other he is saveing the “i” value, my question is- how can i duplicait this movie clip acording to the i value? like when ill open the swf the movie clip will duplicait acording to the “i” value…
thank’s very much 4 the helpers…(-: