I'm just getting into AS3 and it is making me crazy. All over
the place (help files etc.) I see code like this.
Where myLoader is an instance of the Loader class. But it
could be a Sprite or something else. But to what are we adding the
child? It seems that Loader inherits like this (has anybody else
noticed that copying from the help files never seems to work on the
addChild is basically the replacement for attachMovie,
createEmptyMovieClip, and duplicateMovieClip. You use it to add
DisplayObjects to a DisplayObjectContainer.
Loader is basically a type of DisplayObjectContainer,
anything you load is automatically added to it as a child, and you
then add the Loader itself to a visible DispalyObject to actually
see it. You can access the loaded child content via Loader.content.