A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Duplicating dynamically generated MovieClip

  1. #1
    Junior Member
    Join Date
    Jun 2010
    Posts
    1

    Unhappy Duplicating dynamically generated MovieClip

    Hi,

    I am loading several images from XML to dynamically generated movieclips (mc_1, mc_2, mc_3...etc.). Then adding all of them into a parent MovieClip - imageContainerMc. So now, imageContainerMc holds mc_1, mc_2... etc.

    What I want to do next, is to Duplicate the imageContainerMc, and add both the instances on Stage-- addChild(imageContainerMc), addChild(imageContainerMc_duplicate).

    Could anyone please tell me how can I duplicate a dynamically generated MovieClip? I badly need a solution for these...!!

    Thanks!


  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    Can you explain exactly what you are trying to do? Do you need a true duplicate, or just an image?
    Post the code which builds the dynamically generated content so we can see exactly what we're dealing with.

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