have flash publish your html file.
when i do that the page appear but it dosent execute the as socket connection (i have the network option selected)
you have to just use embed tag in HTML and give the name of the swf file that u want to embed. Check this link it will help you .
If you have DreamViewer sdoftware it is even more easier to embed swf file / flash application in web page.