# Duplicate movie problem \[renamed\]

**URL:** <https://forum.kirupa.com/t/duplicate-movie-problem-renamed/151025>\
**Category:** flash\
**Created:** [June 12, 2005, 6:17pm UTC](https://forum.kirupa.com/t/duplicate-movie-problem-renamed/151025 "2005-06-12T18:17:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![julie4ever](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@julie4ever](https://forum.kirupa.com/u/julie4ever)\
**Post date:** [June 12, 2005, 6:17pm UTC](https://forum.kirupa.com/t/duplicate-movie-problem-renamed/151025/1 "2005-06-12T18:17:50Z")

</div>

i want to duplicate a movie clip b1 and create ball1 to manipulate them with setproperty, and the same for b2 but this one into ball2. when i execute this code it would only do it for b1 and not for b2. can anyone help???

[right]Julie(^\_^)[/right]

var x1=50  
var y1=100  
var x2=60  
var y2=89

duplicateMovieClip (this.b1,ball1,1);  
setProperty(pelota1,\_x,x1);  
setProperty(pelota1,\_y,y1);

duplicateMovieClip (this.b2,ball2,2);  
setProperty(pelota2,\_x,x2);  
setProperty(pelota2,\_y,y2);
