2 Replies Latest reply on Nov 29, 2007 12:32 PM by ntsiii

    [Important] Object tag work with form tag problem

    FuryEgg
      I populate an object tag in a table tag or body tag, it works well.-------------
      <body>
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr><td>
      <object id="mySwf" width="800" height="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">
      <param name="movie" value="../css/DeviceList.swf">
      <param name="flashVars" value="">
      <embed name="mySwf" src="../css/DeviceList.swf" pluginspage=" http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="100%" width="100%" flashVars=""></embed>
      </object>
      </td></tr>
      </table>
      </body>
      Flash can call javascript correctlly.

      Then I populate the object in a form tag:--------
      <form>
      <object id="mySwf" width="800" height="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">
      <param name="movie" value="../css/DeviceList.swf">
      <param name="flashVars" value="">
      <embed name="mySwf" src="../css/DeviceList.swf" pluginspage=" http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" height="100%" width="100%" flashVars=""></embed>
      </object>
      </form>
      The only difference is object tag is in form tag, an error be occured when flash call javascript.

      I must populate the flash in the form tag...please help me,it's very importnat.
      thanks a looooooooooooooooot.!!