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

July 11, 2011

The next tip refers to fonts embedded either with CSS or style tag.

The format we know and used in Flex 3.x was:

    @font-face {
        font-family: myFont;
        src:url("../assets/fonts/arial.ttf");
        advancedAntiAliasing: true;
    }

That worked with Flex 3.5, but with Flex 4.x there are a few problems with this format.

Read the rest of this entry »


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

July 7, 2011

In previous posts in this series here and here, I talked about making the project compile and run before the migration process actually begins.

The next few posts will be dedicated to common errors that arise from moving to Flex 4.5 SDK and Spark Theme.
First, let me explain why those errors arise. When changing the compiler SDK to Flex 4.5 some errors arise and are easily fixed.

Read the rest of this entry »


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

July 4, 2011

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.

Read the rest of this entry »


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

July 4, 2011

I am currently doing some migration work for a client, migrating their Flex 3.5 application to Flex 4.5.

Occasionally, I will undoubtedly encounter bumpers…
This will be an account of those bumpers, and how I came to resolve them. This is not guaranteed to be the best solution, just the one that worked for me, usual caveats apply.

Read the rest of this entry »