0 Replies Latest reply on Jun 1, 2007 2:47 PM by LessOCloveFlash

    Content Pane: Help getting rid of "Click to activate this control"

    LessOCloveFlash
      I know this came up a long time ago when IE changed--Flash/swf content needs to be clicked to be activated first. I thought Robohelp 6 would address it, but not.

      The challenge: Cannot use the fixes publised because the html pages created by Robohelp, like the Content pane, are generated with Javascript. Ironically posted solutions use Javascript to change the Embed, object, etc. tags! And I don't know Javascript!

      The entire Content pane needs to be clicked first so you can click an item in the contents. Its html file seems to be wf_master.htm and when you look at the code, the tags are fed in like this:
      **********************
      // Build tag to document.write
      strObject = "<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase=' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'";
      strObject += "WIDTH='100%' HEIGHT='100%' id='masterSWF' ALIGN='' VIEWASTEXT>";
      strObject += "<PARAM NAME='movie' VALUE='wf_master.swf'>";
      strObject += "<PARAM NAME=quality VALUE=high>";
      strObject += "<PARAM NAME='menu' value='false'>";

      // FlashVars for Object tag:
      strObject += "<PARAM NAME=FlashVars VALUE='" + strFlashVars + "'>";
      strObject += "<EMBED src='wf_master.swf' quality=high WIDTH='100%' menu='false' HEIGHT='100%' NAME='masterSWF' swliveconnect=true ALIGN='' ";

      // FlashVars for Embed tag:
      strObject += "FlashVars='" + strFlashVars + "' ";
      strObject += "TYPE='application/x-shockwave-flash' PLUGINSPAGE=' http://www.macromedia.com/go/getflashplayer'>";
      strObject += "</EMBED>";
      strObject += "</OBJECT>";
      **********************
      Adobe's solutions 1 or 2 http://www.adobe.com/devnet/activecontent/ assume you have regular html files.

      *Question/request:
      1) Has/can someone come up with a way or code (or function?) that can be added somewhere centrally (in a key file) so when robohelp renders the above html tags are replaced therefore eliminating the need of clicking the swf content to activate it?
      I don't know how Robohelp renders to help me find the file where a change like this can be made.

      2) Or can the output Javascript file be modified?

      Robohelp seems to ride on Javascript and the 'solutions' are in Javascript. I can't believe RObohelp developers have not addressed this with the Robohelp 6.

      I upgraded to Robohelp 6, use Robohelp HTML, publish using FlashHelp, and my users use IE,