Flash and Lectora communication

When I was working on this, I found one more thing...To pass variable form flash to javascript function in Lectora this code will be helpfull.Flash Code:


import flash.external.*;var greeting:String= "Value from Flash"btn.onPress = function() { greeting = String(ExternalInterface.call("sample", greeting)); }Javascript code:


Thanks for the support friends :)Regards,Karthik Kumar

Discussions have been disabled for this post