A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Duplicate Movies Problem

  1. #1

    Post

    Hi Guys and Girls

    I am having trouble with the 'Duplicate Movie Clip' command. I am not sure how to use the depth section of it.

    I am building a game and I have a loop, the loop creates duplicates. Can be up to 300+ at a time (it is a snake game). But I am not sure what to set the 'depth' of the duplicate movies to. The thing is, when I change the formula that I put in there, it makes the duplicated movies act differently (by this I mean follow the head of the snake differently). I am nearly to the end of creating it but, I just need to know how to properly use the dpth thingy.

    thanks in advance

    ------------------
    --> B L U R

  2. #2
    Information Architect Subway's Avatar
    Join Date
    Feb 2000
    Location
    Switzerland
    Posts
    4,779

    Post

    counter=1

    Target= /master
    NewTarget= "slave" & counter (expression)
    Depth= counter (expression)

    counter=counter+1

    Target= /master
    NewTarget= "slave" & counter (expression)
    Depth= counter (expression)


    ...hope this help.

    ------------------
    ------------------------
    Subway Design Agency
    PONG 2000
    DARK WATERS the fight
    EDUCATION BOARD (Flash 4 based)

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