You'll need to set your WMode (window mode) to Opaque or Transparent.
Go to File > Publish settings > HTML and then choose Opaque or Transparent windowless where it says Window mode... And publish. :)
That will give you the html code you need.
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.