A Flash Developer Resource Site

Results 1 to 20 of 23

Thread: [RESOLVED] DuplicateMovieClip?

Threaded View

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    resolved [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
    Last edited by Z_Dub; 11-03-2009 at 05:11 PM. Reason: link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center