How to make main menu button?

package
{
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.StageDisplayState;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.MouseEvent;
import com.podlium.panorama.PanoramaPlayer;
import com.podlium.panorama.PanoramaHotspot;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.net.navigateToURL;
import flash.display.DisplayObject;

public class panoplayer extends Sprite
{
    private var player:PanoramaPlayer;
    private var controls:Controls;
    private var preloader:Preloader;
    private var overlayHolder:Sprite;
    private var overlay:Loader;
    
    private var url:String = "images/cube/sphere.xml";
    private var overlayURL:String = "";
    private var overlayLink:String = "";
    private var overlayLinkTarget:String = "_blank";
    private var overlayAlign:String = "TR";
    private var overlayMargin:Array = [0,0,0,0];
    private var controlsVisible:Boolean = true;
    private var preloaderVisible:Boolean = true;


    public function panoplayer(){
        addEventListener( Event.ADDED_TO_STAGE, addedToStage );
    }
    private function addedToStage( event:Event ):void{
        removeEventListener( Event.ADDED_TO_STAGE, addedToStage );
        
        stage.align = StageAlign.TOP_LEFT;
        stage.scaleMode = StageScaleMode.NO_SCALE;
        
        checkParameters();
        
        // create Panorama Player
        player = new PanoramaPlayer();
        player.addEventListener( "init", onPanoramaInit );
        player.addEventListener( "textureInit", onPanoramaTextureInit );
        player.addEventListener( "textureProgress", onPanoramaTextureProgress );
        player.addEventListener( "textureComplete", onPanoramaTextureComplete );
        player.addEventListener( "xmlComplete", onPanoramaXmlComplete );
        addChild( player );

I’m making panoramic project. I want to add main menu button. One who travel in the project should came back when he click the buttom. At the beginig the project load xml file. Which actionscript can I write to make button in the project?

        controls = new Controls();
        controls.visible = controlsVisible;
        controls.moveLeft.addEventListener( MouseEvent.MOUSE_DOWN, onMoveLeftMouseDown );
        controls.moveRight.addEventListener( MouseEvent.MOUSE_DOWN, onMoveRightMouseDown );
        controls.moveUp.addEventListener( MouseEvent.MOUSE_DOWN, onMoveUpMouseDown );
        controls.moveDown.addEventListener( MouseEvent.MOUSE_DOWN, onMoveDownMouseDown );
        controls.zoomIn.addEventListener( MouseEvent.MOUSE_DOWN, onZoomInMouseDown );
        controls.zoomOut.addEventListener( MouseEvent.MOUSE_DOWN, onZoomOutMouseDown );
        controls.fullScreen.addEventListener( MouseEvent.CLICK, onFullScreenClick );


        addChild( controls );