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:
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?