If you drag and drop the swf into a web page in Dreamweaver. Go to the design view. You can click the grey box that denotes the flash movie and then can click the play button in the properties tab ( I think its in the properties tab). If its not working online, make sure you upload the .swf and make sure that the reference to it is accurate.
Also...Code?? It would help if we could see it.