Sending a value in flash through Lectora

psujeet
psujeet Community Member Posts: 13

In Lectora: I add a function in lectora as "External HTML Object" object type "Header Script", for sending a value to flash.

function test(){

var temp="Lectora"

var flashObj = window.document.getElementById("swfanim37");

flashObj.SetVariable("sendData", temp);

}

In Flash: On main time line I write following code:

getURL("javascript:test()")

then on a button's onRelease action

_txt.text = _level0.sendData;

// it show 'Lectora'

It works on IE very well but not on Firefox. Provede me any suggestion.

Thanks in advance.