Deep copying Arrays with Class association?

I have no idea what that (the thread title) means.

I’m trying to duplicate an array that contains a bunch of custom class instances. I’ve tried using the “cloning arrays” example from the Flash CS3 help (which is the same as Senocular’s [with a few variable name changes]), but I’m told that Flash can’t convert the Object@3a6ab51 to flash.display.DisplayObject.

:frowning:

Does anyone know how to keep the recreated array Class-aware or associated or whatever? I’m pulling my hair out here! Thanks for any advice.

Fake edit: I did search for this topic earlier, and while I found a couple of functions that may or may not work, it seemed like overkill for what should be a relatively simple procedure, but I’ll give those other classes a look…