Microsoft lost a lawsuit, so they had to change the way that Internet Explorer handles items in <object> tags. That means Flash content. Before RoboHelp 6 I think it was, both the toolbar and the left pane suffered from Microsoft’s solution: When you hover over a Flash movie, it is outlined in gray, and a tooltip appears, announcing, “Click to activate and use this control.” An extra click was required before using the toolbar and the left pane. (In RH 6 and 7, only the nav pane gets this message.)
Very annoying.
Since not only did it annoy me to have to click a couple of extra times, I try to avoid stirring up irritation in my users if I can help it. Microsoft’s workaround is to use a JavaScript document.write function in an include file to write the >object< code into the page. But the way FlashHelp is set up, it’s not that simple.
Here’s how to make it work.
- In your FlashHelp output files, open wf_navpane.htm in a text editor, such as Notepad.
- Open a new, blank text file in the text editor. Type in the following code:
function insertLeft() {}
- Save your text file as a .js (select “All files” in the Save as type dropdown, and include the “.js” file extension in the name that you give the file). Save the file in the same directory as wf_navpane.htm.
- In wf_navpane.htm, insert the following line beneath the line that references whver.js, given that you named your text file “myfile.js”:
<script language="javascript1.2" src="myfile.js"></script> - In wf_navpane.htm, highlight all the code between:
///////////////////////////////
//
// Insert the "Master" SWF
//
///////////////////////////////..and:
</script>
</body>
</html> - Cut the highlighted code (Ctrl + X or right-click < Cut), and in its place, enter:
insertLeft(); - Paste the code from wf_navpane.htm into your .js file between the curly brackets. The last thing before the end bracket should be:
document.write(strObject); - Save both wf_navpane.htm and your .js file.
- Open up your FlashHelp system and move your mouse to the left pane. There should be no “Click to activate” message.
Note that every time you generate your output, wf_navpane.htm will be overwritten. Keep your altered version elsewhere so you can drop it in with the output files when needed.
If you’re using RH X5, this same fix applies to wf_master.htm. Cut out the code that contains the <object> tags and put them in your .js file in a function called something like “insertMaster().” Then put a reference to your .js file and an “insertMaster” function call in wf_master.htm like you did in wf_navpane.htm.
Related entries (auto-generated):
Tech Tip: Checking WebHelp/FlashHelp Output Files in to Subversion
FlashHelp Tech Tip: Fixing the “Flash Player has stopped a potentially unsafe operation” Problem
Why I’m Thinking about Dropping the FlashHelp Format
Journals by Email











Ben Reply:
June 9th, 2008 at 4:52 pm
Thanks, Rick.
This post I found today indicates that IE would be updated this past April. I expect, however, that this is specific to version 7, so if your user research tells you that you have a number of users still using IE 6, you may still want to implement this fix until those users move to IE 7.
[Reply]
Ben Reply:
June 16th, 2008 at 7:25 pm
I just ran some FlashHelp outputs on Friday, and I viewed them in IE 6 because we still have a number of users with that browser. The left pane didn’t get the activate message, so it looks like Microsoft did fix things there. So much for being helpful!
[Reply]