Uncaught TypeError: Object #<HTMLObjectElement> has no method 'RedrawWorkflow'
<p>I have the following code and it works in IE but not Chrome:</p>

<pre><code>&lt;object id="WorkFlowGraph" name="WorkFlowGraph" width="800px" height="600px" classid="clsid:1E595677-765C-4B01-9B60-59AEE2BFAB2C" codebase="../../CAM/Scripts/WFDesigner3.ocx#Version=-1,-1,-1,-1"&gt;&lt;/object&gt;
</code></pre>

<p>And then in Javascript:</p>

<pre><code>document.WorkFlowGraph.NextStepID              = document.frmProcess.hidNextStepID.value;
document.WorkFlowGraph.ComponentsXML           = FixupString(document.frmProcess.hidComponentXML.value);
document.WorkFlowGraph.WorkflowXMLIn           = FixupString(document.frmProcess.hidWorkflowXML.value);
document.WorkFlowGraph.IsWorkflowAllowRevision = document.frmProcess.hidIsAllowRevision.value.toString() == 'true' ? true:false;
document.WorkFlowGraph.RedrawWorkflow();
</code></pre>

<p>I am getting an error on document.WorkFlowGraph.RedrawWorkflow();</p>

<p>It throws this error:</p>

<p><strong>Uncaught TypeError: Object # has no method 'RedrawWorkflow'</strong></p>

<p>I have searched and searched and can't figure it out. Please help.</p>
