Swf not working inside the html generated file

i’ve got a simple centering and easing code for the main stage in the flash file.in firefox the swf file works as it should but when i test in firefox the automatic generated html file it does absolutely nothing of what is supposed to like action script is not there.any ideeas ?
there are all in the same directory(html,swf,AC_RunActiveContent.js).when i run the swf in firefox it runs as it should.when i run the html it does not to center the movieclip inside the swf file.the movieclip is aligned right.i’m not using any web server i’m just plainy running them by drag and drop.