Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

duplicatemovieclip 1

Status
Not open for further replies.

WhiteTiger

Programmer
Jun 26, 2001
605
US
Yea, I'm here...just wanting to know...

I'm trying to be able to click on my flash movie, and have it duplicate 'thisclip' and put it where I clicked on the movie...how do I accomplish this? Regards,
Anth:cool:ny
 
duplicateMovieClip(thisClip,"thatClip",100);//100 is the level the new clip appears at
thatClip._x=_root.Mouse._x;
thatClip._y=_root.Mouse._y;

Paths to clips etc and how you trigger the duplication event I'll leave up to you.

Slainte

 
Thanks wangbar, I got it semi-working yesterday, I could move the clip from offscreen to where I clicked, but then I couldn't get the duplicating thing to work. thanks!

The reason for it is, I'm making a paintball website, and whenever a user clicks, it shoots a paintball down a field and you have to hit a button/player to go to that section =) and all the splats stay on screen until you wipe them off. Regards,
Anth:cool:ny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top