Ora hai:
codice:
   <td colspan="6">     <object classid="clsid:&#68;27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="221">
        <param name="movie" value="/palazzo-home.swf" />
        <param name="quality" value="high" />
        <embed src="/palazzo-home.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="750" height="221"></embed>
       </object>
   </td>
Devi sostituire il contenuto del td con l'inclusione di uno script esterno:
codice:
<td colspan="6">
  <script type="text/javascript" src="includiSWF.js"></script>
</td>
E nel file esterno includiSWF.js scrivi il vecchio contenuto del td con delle documet.write:
codice:
  document.write('<object classid="clsid:&#68;27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="221">')
  document.write('  <param name="movie" value="filmato.swf" />')
  document.write('  <param name="quality" value="high" />')
  document.write('  <embed src="filmato.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="750" height="221"></embed>')
  document.write('</object>')
Faccio notare che secondo il sito della microsoft questa soluzione non dovrebbe risolvere il problema dell'attivazione:
Because the next example uses the writeln function to insert the script into the original HTML document, the resulting control requires activation. To load a control without requiring activation, use one of the previous examples.