The HTML files created by Flash Professional contain only the code required to display your SWF file. To add your SWF file to an HTML page that contains other elements such as text or graphics, paste the following code into the HTML document. Paste this code somewhere inside the BODY tag of the HTML file.
To add the OBJECT tag manually, do the following:
How to alter YouTube embed code...