MovieClipLoader/navigation issue

Hi there,
Apologies if this has been covered before or seems like a stupid question!

I’m an Actionscript novice in Dublin, trying put together a friend’s photographic website.
I used (and abused) sbeener’s code that I found here
http://www.kirupa.com/developer/mx/photogallery.htm
to create 4 image galleries. This works amazingly on its own and I can see that once I figure this problem out, it will be easy to update his site as he gives me new material.

Thanks sbeener in advance!

I am trying to load each gallery into a main swf using this movieclip loader thingy
[COLOR=SlateGray]
[COLOR=DimGray] var myMCL:MovieClipLoader = new MovieClipLoader();

myMCL.loadClip(“commissioned.swf”, “container”);[/COLOR][/COLOR][COLOR=DimGray] [/COLOR]

but the external swf navigation buttons do not appear when I publish my main swf.

Any ideas on what I have wrong? I’m primarily a print designer/photographer and Actionscript scares the pants off me!!!

sbeener’s code:

[COLOR=DimGray] /*
i wrote this code, but you can use and abuse it however you like.
the methods are defined in the order which they occur to make it
easier to understand.
*/
// variables ------------------------------------------
// put the path to your pics here, include the slashes (ie. “pics/”)
// leave it blank if they’re in the same directory
this.pathToPics = “”;
// fill this array with your pics
this.pArray = [“C001.jpg”, “C002.jpg”, “C003.jpg”, “C004.jpg”, “C005.jpg”, “C006.jpg”, “C007.jpg”, “C008.jpg”, “C009.jpg”, “C010.jpg”, “C011.jpg”, “C012.jpg”, “C013.jpg”, “C014.jpg”, “C015.jpg”, “C016.jpg”, “C017.jpg”, “C019.jpg”, “C020.jpg”, “C021.jpg”, “C022.jpg”];
this.fadeSpeed = 3;
this.pIndex = 0;
// MovieClip methods ----------------------------------
// d=direction; should 1 or -1 but can be any number
//loads an image automatically when you run animation
loadMovie(this.pathToPics+this.pArray[0], _root.photo);
MovieClip.prototype.changePhoto = function(d) {
// make sure pIndex falls within pArray.length
this.pIndex = (this.pIndex+d)%this.pArray.length;
if (this.pIndex<0) {
this.pIndex += this.pArray.length;
}
this.onEnterFrame = fadeOut;
};
MovieClip.prototype.fadeOut = function() {
if (this.photo._alpha>this.fadeSpeed) {
this.photo._alpha -= this.fadeSpeed;
} else {
this.loadPhoto();
}
};
MovieClip.prototype.loadPhoto = function() {
// specify the movieclip to load images into
var p = _root.photo;
//------------------------------------------
p._alpha = 0;
p.loadMovie(this.pathToPics+this.pArray[this.pIndex]);
this.onEnterFrame = loadMeter;
};
MovieClip.prototype.loadMeter = function() {
var i, l, t;
l = this.photo.getBytesLoaded();
t = this.photo.getBytesTotal();
if (t>0 && t == l) {
this.onEnterFrame = fadeIn;
} else {
trace(l/t);
}
};
MovieClip.prototype.fadeIn = function() {
if (this.photo._alpha<100-this.fadeSpeed) {
this.photo._alpha += this.fadeSpeed;
} else {
this.photo._alpha = 100;
this.onEnterFrame = null;
}
};
// Actions -----------------------------------------
// these aren’t necessary, just an example implementation
this.onKeyDown = function() {
if (Key.getCode() == Key.LEFT) {
this.changePhoto(-1);
} else if (Key.getCode() == Key.RIGHT) {
this.changePhoto(1);
}
};
Key.addListener(this);
[/COLOR]