Pass Lectora Variable to AS3 when publishing to non-HTML (e.g., CD)?
July 8, 2009 12:00 AM
Hello,
With the help of some informative posts on this site, I have managed to pass variable data (specifically, then name of the current page) from Lectora to an AS3 flash file using the following code in the SWF:
currPage=flash.external.ExternalInterface.call("VarCurrentPageName.getValue");
However, this only seems to work when exported to HTML (understandably). The regular "Flash Command > Set Variable" action doesn't seem to work with AS3. Does anybody know of a way to pass a variable to AS3 when publishing to CD?
Discussions have been disabled for this post