You may need to change your object tag like below :
<object id="myFlash" width="1000" height="500" type="application/x-shockwave-flash" data="flash.swf" style="visibility: visible;">
<param name="play" value="true">
<param name="menu" value="false">
<param name="scale" value="showall">
<param name="wmode" value="transparent">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="allownetworking" value="all">
</object>
</param></param></param></param></param></param></param>
check
<param name="wmode" value="transparent"></param>
attribute of object tag.
Mark this as answer if it helps you!