[RESOLVED] DuplicateMovieClip?
hey, i put a post on actionscript 3.0 in the newbies forum cause i didnt even see this one, i need to be able to duplicate movie clips at random, and im realy confused, ill put the code here too, but for more info, u might wanna look at my other post
Code:
chevelle_mc.addEventListener(MouseEvent.MOUSE_OVER, carStart);
function carStart(carMove:Event):void {
Mouse.hide();
chevelle_mc.startDrag();
}
//1.
chevelle_mc.addEventListener(Event.ENTER_FRAME, circleHit);
//2.
function circleHit(truckMove:Event):void {
if (chevelle_mc.hitTestObject(truck_mc)||(chevelle_mc.hitTestObject(truck2_mc))) {
chevelle_mc.stopDrag();
truck_mc.stop()||truck2_mc.stop();
text_mc.visible = true;
} else {
text_mc.visible = false;
}
}
heres teh link: http://board.flashkit.com/board/showthread.php?t=805042