i have 2 arrays - displayArray and shoppingCartArray. into the displayArray i push movieClips created using duplicateMovieClip in a for loop. so far so good. so from then on i can reference the mcs using an index of the displayArray, which is great.
ok now if the user adds one of the movie clips to their shopping cart, i splice the displayArray and push the result into the shoppingCartArray.
still good - but heres the problem - the movie clips are all created within the display movie clip, and once theyre added to the cart, i need them to be ‘moved’ into the shoppingCart movie clip. at first i tried removeMovieClip but that meant that the shoppingCartArray contained a broken movie clip…
so how can i keep the movie clip in question, but transfer it into another parent movie clip?