ok I am trying to pass variables forma flash form to a Lotus Notes Domino form, I can get it ot call a javascript alert but it will not pass the variables anybody????
code in flash I think the set("Stmt".... is my problem
on (press) {
set ( "JavFlashfieldname", NAME );
set ("JavFlashfieldemail", EMAILADDRESS)
set("Stmt","javascript:update('" & NAME & "', '" & EMAILADDRESS & "')"
getURL(Stmt)
}
code in HTMl Head this is in domino so there are some syntax diffences but i don think the problem is here I think it is in the actionscript
"<SCRIPT Language=\"JavaScript\">" + @NewLine +
"<!--" + @NewLine +
"function update(JavFlashfieldname,JavFlashfieldemail)" + @NewLine +
"{" + @NewLine +
"document.forms[0].DomNamefield.value=JavFlashfieldname" + @NewLine +
"document.forms[0].DomEmailfield.value=JavFlashfieldemail" + @NewLine +
"//document.forms[0].submit()" + @NewLine +
"alert(\"Hello\"" + @NewLine +
"}" + @NewLine +
"// -->" + @NewLine +
"</SCRIPT> "
kyle
code in flash I think the set("Stmt".... is my problem
on (press) {
set ( "JavFlashfieldname", NAME );
set ("JavFlashfieldemail", EMAILADDRESS)
set("Stmt","javascript:update('" & NAME & "', '" & EMAILADDRESS & "')"
getURL(Stmt)
}
code in HTMl Head this is in domino so there are some syntax diffences but i don think the problem is here I think it is in the actionscript
"<SCRIPT Language=\"JavaScript\">" + @NewLine +
"<!--" + @NewLine +
"function update(JavFlashfieldname,JavFlashfieldemail)" + @NewLine +
"{" + @NewLine +
"document.forms[0].DomNamefield.value=JavFlashfieldname" + @NewLine +
"document.forms[0].DomEmailfield.value=JavFlashfieldemail" + @NewLine +
"//document.forms[0].submit()" + @NewLine +
"alert(\"Hello\"" + @NewLine +
"}" + @NewLine +
"// -->" + @NewLine +
"</SCRIPT> "
kyle