Loading a .swf and components into dreamweaver

I’ve ran into wall. I’ve created a flash file that loads text externally from a text file. Everything is in the same folder and even works inside flash and flash player.

My problem is that once I place the .swf file inside of a table or cell inside dreamweaver, the .swf file returns a message undefined in place of the text. I even published the .swf file and text files to the server and still will not work inside the html page.

But if I type the url to the .swf file it works.

I could really use some guidance. I’m not familiar with this issue. Thanks!!