イベント リスナーをパブリックとして宣言して、すべての関数で使用できるようにするにはどうすればよいですか?
// Coded needed below to declare Event
function addEventL()
{
/// Declares it in a function
myMovie.addEventListener(MouseEvent.CLICK, menuIn);
}
function removeEventL()
{
/// This does not work because it was first called in a function.
/// So it can not find the event Listener to remove.
myMovie.removeEventListener(MouseEvent.CLICK, menuIn);
}