hello ,

I have a main file that has a dynamic menu. On the xml file for the menu, i have it going to individual frame numbers. On the frames i have the script to load the external files...

i was able to load the external swfs with this code:

var imageRequest:URLRequest = new URLRequest("home.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);



then to unload, i would have for example:
when the home loads, on the bottom of the script, i would have unloading
about, projects , contact...
with this code:

about.unload();
projects.unload();
contact.unload();

but im getting this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.


can anyone help? i dont know what else to do...
thanks in advance.