SWF works only on Test Movie

Hi just wanna ask does anybody know why is that when I use “test movie” in flash everything works out, my buttons are functioning as it should and it loads ext.swfs as it should. Smooth transition works for every section.

button 1 - loads external swf - 1
button 2- loads external swf - 2
button 3- loads external swf - 3

But when I publish it on HTML or even click the main SWF file (main.swf)

This is what happens.

When I click button # 2 and click on 1 or 3 afterwards it still loads button 2’s external swf-2

But how come it works on flash’s TEST MOVIE?