Passing Variable from Captivate to Lectora

I am building a course in Lectoa with multiple swf files created in Captivate 6. At the end of each video in Captivate I am trying to add JS that will execute "on exit" that will do two things; set a variable to "1" and then go to the next page. Going through the other threads and trying to piece together what I need I came up with this (which isn't working):



flash.external.ExternalInterface.call(“Var1_Review_Home.set”, “1”);

ExternalInterface.call("trivNextPage()");


Can anyone help me out here?

Discussion (1)

I just started using Captivate with Lectora so I am not an expert by any means but this is a link I saved, thinking it may come in handy:

http://blog.integratedlearningservices.com/2010/06/yes-your-captivate-sim-can-drive-your.html

Discussions have been disabled for this post