The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: Duplicate movieclip questions

  1. #1

    Duplicate movieclip questions


    I'm a new learner to actionscript, before i just copy and pasted code, wich wasn't very helpfull. now i'm kinda experimenting with actionscript but written out of mind.

    i made a rocket wich follows your mouse, with a neat trail that also follows your mouse.

    that works fine, but now i want a row of enemies to come out of the left of the screen.
    what do i add to make the enemies duplicated? if i add duplicate movieclip the enemies will come. but the rocket won't follow the mouse and the trail won't work.

    another question: how do i make it so a movieclip is being duplicated every 5 seconds or so? not on every frame?

    thanks in advance , file is attached
    Attached Files Attached Files
    Click here to read the signature guidelines for the forums.
    Reason: Dimensions > 300x60
    Ready to kick some ***!

  2. #2
    looks like wrong file but, it seems enemys you are trying to createare the same movieclip as the player itself, and since you have most probably put AS in the mc instead of frame....the code is colliding with eachother. From now on, try to put all you code on the timeline, and preferably at one place.

    Also to set gap use setInterval

    intervalID=setInterval(function_name,time in between executions)

    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.

  3. #3
    ah yes, sorry here is the right file.

    94 kb , so heres a rar

    and the set interval, should it be something like this?:

    Click here to read the signature guidelines for the forums.
    Reason: Dimensions > 300x60
    Ready to kick some ***!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012