Hi,
I have Flex application with ExternalInterface.call() command by which I call function in JS on its HTML page, i.e.
part of a flex app code:
private function callJS():void{ ExternalInterface.call("sendMSG", "Flex app message: ".concat(txt.text)); }
part of a html:
<head>
<script language="JavaScript" type="text/javascript">
function sendMSG(msg){ alert(msg); }
</script>
</head>
But when I rendered the swf as Form in ALC, I get any html with reference to the swf (see bellow) but I don't know, howand where I can put the JS code with the function. I placet it in head space, but it was malfunction.
Thanks for any answer
Petr
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Cache-Control" Content="no-cache"/>
<meta http-equiv="Pragma" Content="no-cache"/>
<meta http-equiv="Expires" Content="-1"/>
<title>Adobe LiveCycle ES Form Guide</title>
<script id="guideInitScript" name="guideInitScript" language="JavaScript" type="text/javascript">
var WrapperVersion = "2.0";
var WantToDebug = 0;
var WantPdfPreview = 1;
var SWFURL = "http://...";
var PDFURL = "http://...";
var XdpData = "...";
var GuideDefinition = "";
var GuideName = "";
var GuideLocale = "en_US";
var GuideSubmitAll = "false";
var BaseUrl = "@@baseUrl@@";
var RootData = "@@rootData@@";
var playerInstallURL = "http://...";
</script>
</head>
Views
Replies
Total Likes
What are you trying to do? Inject configuration information into the Flex form at run time so that the form can be "instance" agnostic?
Views
Replies
Total Likes