This is a class that can be used a substitute to load images and swf's into any movieclip. The reason one may choose this as a substitute to MovieClipLoader class is that you don't have to create a separate listener object to listen to the load events. All the events dispatched by this class are the same as that if MovieClipLoader class.
Usage:
An example usage can be something like this:
import com.maheshj.utils.ContentLoader;
var con_cl:ContentLoader = new ContentLoader();
this.createEmptyMovieClip("content_mc", this.getNextHighestDepth());
con_cl.onLoadInit = function(){
trace("content loaded");
}
con_cl.loadContent("1.jpg", content_mc);
Here 1.jpg can be any image you want to load into the content_mc movieclip.