Sarah012
08-12-2003, 08:30 AM
I have a movie clip (smallwheel) that contains two movie clips (wheelclip1, wheelclip2). At the begining of the movieclip (smallwheel3) only wheelclip1 is visible, after a simple motion tween only wheelclip2 is visible. Wheelclip2 can then be dragged. What I would like to happen is this:
After Wheelclip2 has been dragged and released a duplicate of the movie (smallwheel3) is created and place in the original position.
The duplication occurs but after the second wheelclip2 is dragged and released it simply disapears. I would like to be able to have many copies of wheelclip2 that can be dragged on press.
Here is the code that I have placed on wheelclip2:
on (press) {
startDrag(_this);
}
on (release) {
stopDrag();
for(i=1;i<i+1;i++);{
duplicateMovieClip("_root.draw.smallwheel3","smallwheel3"+i,i);}
}
Any help would be greatly appreciated.
Thanks
After Wheelclip2 has been dragged and released a duplicate of the movie (smallwheel3) is created and place in the original position.
The duplication occurs but after the second wheelclip2 is dragged and released it simply disapears. I would like to be able to have many copies of wheelclip2 that can be dragged on press.
Here is the code that I have placed on wheelclip2:
on (press) {
startDrag(_this);
}
on (release) {
stopDrag();
for(i=1;i<i+1;i++);{
duplicateMovieClip("_root.draw.smallwheel3","smallwheel3"+i,i);}
}
Any help would be greatly appreciated.
Thanks