Loading .swf file into empty container

I am using the following code to put a .swf file into an empty container when the page loads. This works fine in flash, but when I put it into dreamweaver and upload it to the web site, it does not work – the container does not load when the page comes up.

Do I need additional code (or something else) to have the browser read the command??

_root.container.createEmptyMovieClip(“container”,1);
loadMovie(“test_container.swf”,“container”);