Need help with [flash API] loader.as

Hey guys.

I downloaded [flashAPI] libraries (http://www.yestoall.com/flashAPI/index.html) and have some problems using them. Unfortunately there is no detailed documentation on usage so I have to write to this forum.

I’d like to use loader.as to preload movie into a movieclip. I know there are other scripts and I could even do one on my own. But since this library is done already and I use other libs also I’d like to know how to use this one.

Usage for this function is the following


var loading = new Loader(100,"test.swf");

loading.onLoading = function () {
  trace("loading " + this.percentage + "%");
}

loading.start();

And now I don’t know how to assign the loaded SWF to a movieClip. This thing loads the movie into level 100 and no object - or maybe just that I don’t know what.

Anyone have a solution? Call me stupid but I really don’t know how to make this work and believe me - I tried.

Thanks