1 Reply Latest reply on Apr 28, 2006 8:38 AM by FlashForumName


      I have a webpage up with this function:

      <script language=javascript>
      function UI3_DoFSCommand( command, args ) {
      if(command == "window")
      window.open( args , "_blank", "menubar=0,resizable=0,width=800,height=800" );

      My question is, on the declaration am I doing it incorrectly? It says in the Flash help that "where moviename is the name of Flash Player as assigned by the NAME attribute of the EMBED tag or the ID attribute of the OBJECT tag". Here are my html declarations:

      <object classid="clsid: D27CDB6E-AE6D-..." codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="650" align="middle" id="UI3">

      <embed src="UI3.swf" quality=high pluginspage=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" type="application/x-shockwave-flash" width="800" height="650" align="absmiddle" id="UI3">

      From my JS function from above, I defined it like this: function UI3_DoFSCommand where I thought UI3 would be the movie name.

      But, it never actually calls it so I think my html id or name tags are messed up. Any point in the right direction would be helpful, it may be something obvious. I am pretty new to all of this. Thanks in advance!