Sending a value in flash through Lectora
December 18, 2009 12:00 AM
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.
Discussions have been disabled for this post