Duplicating dynamically-loaded MovieClips


I’m using the Loader class to load graphics from SWFs. However, I can’t figure out a way to clone the loaded MovieClips. This is very important because the graphics in question are reused dozens of times and Flash doesn’t seem to implement a caching mechanism.

I tried a duplicateDisplayObject() function I found floating around the net, it only crashed the IDE.

Any help would be appreciated.