unloadMovie not working when published

i am loading external swf files into my fla by using loadMovie();, and then removing them with unloadMovie(); - this works perfectly well when i test the swf in flash, but when i publish and test in a browser, the movie wont unload! any suggestions?! please help. thankyou.