Passing values from Flash to Lectora

Sorry for the confusion, I just made in an update to the post you are referencing. It should be getURL ("javascript:window.document.[name of Lectora-published .swf].SetVariable('yourVariable', 'new value'");The 'cmi.suspend_data' was just left in there from a previous example. You really want this to be the new value you are trying to change it to.Basically, you have to create a variable in Lectora in first that you will be saving the value to. Then use the following Lectora variable functions in javascript: VarvariableName.set(new value). Lectora variables are always declared with "Var" preceding the variable name you choose in Lectora.The variable must also be accessed using a Lectora action somewhere on the page in order to get the variable declared in javascript for that page.So if you make a Lectora variable called 'Test'. Then your flash function might look like this: getURL("javascript:VarTest.set('new value')");Edited By: aaron on 38562.7445486111

Discussions have been disabled for this post