Skip to main content
Participant
December 2, 2015
Question

Sending values to HTML via Javascript in Captivate

  • December 2, 2015
  • 0 replies
  • 167 views

Hi I'm trying to do something I couldnt find anywhere yet,

I have a HTML-File (test.html) which includes the captivate file (.SWF):

<div id="CaptivateContent">

   <embed id="Captivate" width="960" height="590" allowscriptaccess="always" seamlesstabbing="false" menu="false" wmode="window" quality="high" bgcolor="#ffffff" name="Captivate" style="undefined" src="test.swf" type="application/x-shockwave-flash">

</div>

In this .swf Captivate file I have a button, that will appear in the end of the captivate video. When you click on it it should send a String "Passed" to the HTML-page (probably via Javascript) and show it in a <p> tag.

<p> <script type="text/javascript"> document.write(x); </script> </p>

can someone help me?

This topic has been closed for replies.