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 »


Flex 3 SDK Vs. Flex 4 SDK – Part 5 – View States

June 29, 2010

In previous posts in the series we discussed new features in Flex 4 that are basic in nature (namespaces, an introduction to the new Spark components architecture and the new mxml tags to name a few).
In the next few posts we will discuss the more interesting stuff new with Flex 4 like FXG, states, layouts, effects and skinning.
So, without further ado, View States!

Read the rest of this entry »


Flex 3 SDK Vs. Flex 4 SDK – Part 4 – Two-way data binding

May 30, 2010

In previous posts in the series we discussed namespaces, an introduction to the new Spark components architecture and the new mxml tags introduced with Flex 4.
This post is all about data binding, and two-way data binding new to Flex 4 specifically.

Read the rest of this entry »


Flex 3 SDK Vs. Flex 4 SDK – Part 3 – New language tags

May 14, 2010

Flex 3 had some language tags we are all familiar with like <fx:Binding>, <fx:metadata>, <fx:script> and <fx:style> to name a few.

Flex 4 introduces some new mxml tags you can use when writing mxml classes. They are <fx:Declarations>, <fx:Definition>, <fx:Library>, <fx:Private> and <fx:Reparent>.

Read the rest of this entry »


%d bloggers like this: