if this is the code:
Code:
import flash.display.*;
import flash.external.ExternalInterface;

  
function RightClick()
    {
        stage.scaleMode = StageScaleMode.NO_SCALE;
        stage.align = StageAlign.TOP_LEFT;
          
        var methodName:String = "rightClick";
        var method:Function = onRightClick;
        ExternalInterface.addCallback(methodName, method);
    }
      
function onRightClick():void {
        var mx:int = stage.mouseX;
        var my:int = stage.mouseY;
       if(my> 0 && my <stage.stageHeight && mx> 0 && mx <stage.stageWidth) {
            trace("mastButton"+" was rightCLICKED");
    }
}
then where do i tell it that i want to have the MouseEvent EventListener on my movieclip labeled "mastButton" ??
(obviously i know its not really a MouseEvent but u know what i mean)