How to control a movieclip with an externally loaded Moviclip?

Hey guys and gals,


If you go to this website you will see a panel that slides up and down based on whether you pick “about”, “portfolio”, or “contact”.

When you select the “portfolio” button, an external swf is loaded into a movieclip with instance name mcslide. Then scroll to the left until you reach “10th Street Townes”. Select this button.

You can then scroll left to right and select one of the projects. This loads another external swf into the main movie. What I want to do is control the panel that slides up and down from the the horizontally scolling buttons(images of buildings). Since this is an externally loaded swf, I don’t know how to incorporate the code into my actionscript below. Can anyone help?

Here is the code I use to do that, below. This controls the gray/black panel called “navpanel”. The rest should be straight forward.

// during the time the movie loads, we set the current
// position of the content at 0,0; thus showing the
// ABOUT section of the site.
onClipEvent (load) {
    endX = _x;
    endY = _y;
    _x = 20;
    _y = 1000;
    div = 4;
    // This value just determines the speed
    // the transistions.
// Here we constantly check for new values of
// _x and _y. These values are determined by endX and endY.
// We divide the difference by div to have an value that
// continues to change until the equation is true.
// Try changing the 'enterFrame' with 'Load' to see the
// difference. You would then have to click on a button
// several times before the transistion completes.
onClipEvent (enterFrame) {
    _x += (endX-_x)/div;
    _y += (endY-_y)/div;
    // We then use the onRelease method to determine the
    // new values of endX and endY. This is a new feature
    // in Flash MX.
    _root.navpanel.about.onRelease = function() {
        endX = 20;
        endY = 394.5;
    _root.navpanel.portfolio.onRelease = function() {
        endX = 20;
        endY = 270;
    }; = function() {
        endX = 20;
        endY = 254.5;
    _root.sales.onRelease = function() {
        endX = 20;
        endY = 254.5;

Thanks for any help in advanced,