MovieClips that dont exist yet

Im building a preloader queue thingy and i have one big problem.

firstly - the goal of this class is the possibility to add movie clips to the queue that arent yet loaded in by their parent movie clips (which are also in the queue). this is a very important function of this object, and one of the main reasons im coding it.

so - when i pass a reference to a MovieClip Object to my addToQueue function, if the movie clip exists, all is well and good. But if the movie clip happens to be a child of another movie clip that is in the queue, it doesnt exist yet - so the reference returns “undefined” as expected.

but very soon into the queue processing function, the child movie clip will come into existance, but unfortunately that doesnt matter cause initially the movie clip wasnt there, so the pointer variable still is set to undefined…

so, if youre still following me :smiley: - how do i store a pointer to a movie clip that doesnt exist YET but i know will exist? i want to be able to pass a reference to any movie clip in any scope, possibly as a child of many parent movie clips that may or may not exist…

is there a sure way to set up a variable to reference a movieclip so i can use it, for example, in loadClip() functions, when the movieclip does actually appear? even if it doesnt exist yet?