To communicate the information from an AS3-SWF to Storyline, follow the steps given below:
- Create a global variable in the AS3 file, that will contain the value that needs to be passed on to SWF. In this case the variable is score.
- Create a variable in Storyline that will be used to capture the values from SWF. In this case the variable is ‘gameScore’
In the SWF file, place a trigger –
- Now import the SWF to the Storyline and you are done.
Thanks to Steve Gannon