As described in a previous post, I am currently doing some migration work for a client, migrating their Flex 3.5 application to Flex 4.5.
I needed to pass a set of variables to the main application using flashvars.
In Flex 3, it was pretty straight forward – you’d use the html-template file and modify it’s object tag to include those variables.
This has changed somewhat with Flex 4.5.
First, the template itself has changed. It uses a different js file, and runs differently.
Second, the way you supply the flashvars has also changed, since it is no longer a string but rather an Object with each flashvar is a property on that object.
You can read more about it here.