Perhaps you should wrap your flash file in a div
tag
<div id="image" align="center"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="281" height="28">
<param name="movie" value="whatever.swf">
<param name="quality" value="high">
<embed src="contactb.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="281" height="28"></embed>
</object>
</div>
and use the following CSS code:
.image {
display: none;
}
then call at your last image declartion an onload
event that will display the swf block
<img onload="document.getElementById('image').style.display = 'block'" src="whatever" />
Good luck!