In the main movie i have te removeMe function that works perfectly when I close from the main, but not with the close buton of external swf, it seem does not access to the removeMe function, what is wrong here?

function removeMe(e:Event):void

{

if (oneLoader)

{

oneLoader.unloadAndStop();

// if publishing for fp 10+, else must explicitly stop all streams and apply unload().;