Call a function with actionscript 2?

Hi Guys,

I am trying to remove a mouse listener from a function created from a tutorial in actionscript 2:

Mouse.addListener(mousecontroll);
onEnterFrame = oef; //main function: handles page turning-------------------------------------------------------------------------------------
resetPages();
reset();

function removeML() { //removes mouse listener
//Call this function before unloading the pageflip
//if you don’t do that, the next time you load a
//pageflip, the mouselistener will not work!
Mouse.removeListener(mousecontroll);
trace(“removed”);
}

The swf that the function is within I am uploading externally into a container.

The code for the button that i am using to try and call the function and load the external swf is below:

on (release)
{
_root.holder_mc.loadMovie(“external.swf”, _root.holder);
_root.button_mc.onRelease = removeML; //this line of code doesn’t seem to call the function
}

Any advice or help would be much appreciated.

Cheers.