In Lotus DominoProgramDuring development, sometimes flash interacts with the form content. The following example shows how to solve this problem.
</Form> <object classid = "CLSID: d27cdb6e-ae6d-11cf-96b8-444553540000" codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width = "1000" Height = "600" id = "workflowd" align = "Middle">
<Param name = "allowScriptAccess" value = "always"/>
<Param name = "flashvars" value = "<calculated value>"/>
<Param name = "movie" value = "/workflow/workflowd.swf"/> <Param name = "quality" value = "high"/> <Param name = "bgcolor" value = ""# ffffff"/> <embed src = "/workflow/workflowd.swf" Quality = "high" bgcolor = "# ffffff" width = "1000" Height = "600" name =" workflowd "align =" Middle "allowScriptAccess =" samedomain "flashvars =" <calculated value> "type =" application/X-Shockwave-flash "pluginspage =" http://www.macromedia.com/go/getflashplayer "/>
</Object>
1. The form field value is uploaded to the Flash variable. The aboveCodeThe calculation formula for "calculated value>" is "workflowname =" + workflowxml + "". The code above transmits a variable workflowname for the flash named workflowd, its value is workflowxml. Workflowxml is a form field.
2. Flash calls the Javascript. function on the form.
The Flash call code is
Import flash. External. externalinterface;
Externalinterface. Call ("sayname", "John ");
JavaScript Functions:
Function sayname (name)
{
Window. Alert (name)
}
Of course, there are other calling methods that will not be listed.