Scrollpane inside attached movieclip not loading content

hi folks,

I have a movieclip in my library that contains a scrollpane.

I attach this movieclip to the stage using attachMovie.

I then wish to populate this scrollpane with another movieclip in the library.

It seems that I can only get this to work if i delay the request to populate the scrollpane be either using an interval or some delayed event.

It would appear that I need to first be sure that the first attached movie clip is fully loaded before I can populate the scrollpane it contains (i think)

Whats the right way to do this? I don’t want to guess when its “ok” to add content to my scrollpane as this may not be the same on every system. It looks like using “onLoad” with an external class as suggested in the Docs would be a solution, but it seems a bit convoluted and I have yet to get it to work properly. (for example, how do you pass to the class constructor a reference to a scrollpane thats contained within the same movieclip thats being attached *within *the line of code that instantiates said class and its associated movieclip…confused? me to!)

please help.