Migrating Flex 3.x application to Flex 4.5 – Tip No. 2

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.

Advertisements

One Response to Migrating Flex 3.x application to Flex 4.5 – Tip No. 2

  1. […] previous posts in this series here and here, I talked about making the project compile and run before the migration process actually […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: