I'm wanting to know how to pass variables from an application to an AS3 SWF game. In VB.NET you use the below code to send a value to a variable in the SWF.
This unfortunately does not work for AS3 games, only AS2 / AS1. So, does anyone know how to do it with AS3 using any language? I'd prefer to know how to do it in .NET though because that's what I use 90% of the time.
Thanks for any help or suggestions provided!
- Code:
axShockwaveFlash.SetVariable("MyFlashVar", "theVar")
This unfortunately does not work for AS3 games, only AS2 / AS1. So, does anyone know how to do it with AS3 using any language? I'd prefer to know how to do it in .NET though because that's what I use 90% of the time.
Thanks for any help or suggestions provided!