Buttons not loading game or exiting

Hi Guys,

started programming the menus for the game im working on. Everything shows up ok so far but when i select the buttons rather than it loading the next part, its going to a black screen? Does anyone have any suggestions? My code for the MainMenu is as follows:

package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;

public class mainMenu extends MovieClip
{
    var theCallBackFunction:Function;
    public function mainMenu(callBack) 
    {
        // constructor code
        var BtnPlay:mmPlay = new mmPlay();
        BtnPlay.addEventListener(MouseEvent.MOUSE_DOWN, BtnPlay_button);
        BtnPlay.x = width /2 - BtnPlay.width /2;
        BtnPlay.y = height /2 - BtnPlay.height /2;
        addChild(BtnPlay);
        
        var BtnExit:mmExit = new mmExit();
        BtnExit.addEventListener(MouseEvent.MOUSE_DOWN, BtnExit_button);
        BtnExit.x = width /2 - BtnExit.width /2;
        BtnExit.y = height /2 - BtnExit.height /2;
        BtnExit.y += BtnExit.height + 10;
        addChild(BtnExit);
        
        theCallBackFunction = callBack;
    }
    
    public function BtnPlay_button(e:MouseEvent)
    {
        theCallBackFunction(this, "game");
        return;
    }
    
    public function BtnExit_button(e:MouseEvent)
    {
        theCallBackFunction(this, "exit");
        return;
    }

}

}

Then the “game” is another class which is loaded when you select to play the game.

Cheers,

EDIT: Forgot to mention, i have images loaded that are converted to movieclips and named the same as the class so that they display as the background. The main menu image works fine, just not the game background.