Tag Archive for Flex

Flex 4 – Controlling a custom component’s skin states

flex_logo

The new Flex 4 skinning architecture makes it easier for developers to completely change the look and feel of an application, while providing better separation between components and their skins. In this blogpost, by using FXG and the new states syntax, we’ll write a basic MXML skin that reflects it’s hostcomponent states. For those of [...]

Creating a Flex theme with Flash Catalyst

In my book Flash Builder and Flash Catalyst; the new workflow I talk about different workflows for the different types of applications. These workflows are all good when creating a single application. But isn’t there something you could do for improving reusability of your design elements and collaborating more easily? First thing to do, and [...]

fl packages in flex/flash builder

Recently I tried using Five3D in a pure AS3 project using flex builder 3. Everything went well upon compiling, it was nagging that it (FB) couldn’t find the fl.motion.Color class. I looked into the Five3D code and it is indeed using the Color class to simulate basic shading. And actually that error wasn’t so weird [...]

A very simple facade

In one of our latest project we wanted to use some sort of an event system that would make it possible for components to dispatch events to each other even though they are not aware of each other or are not in the same displaylist structure. In that last example we would just use the [...]

View state transition problem: effects don't play

If you are using view states and want to apply certain transitions between these states, there are some things to keep in mind. When adding components to a state, the transition effects (also called behaviors) are applied to that component while adding it. So this means that the effects will be visible during initialization of [...]

Creating your own Flex validator class

Every once in a while you come across a problem you can’t fix with the basic components provided by a certain kind of technology. OK, so I lied: Very often you come across a problem you can’t fix with the basic components! Flex is not different at all. It has some good basic validator classes, [...]

A custom formatted component called CurrencyInput

You know, the Flex SDK is a pretty nice collection of visual component for quickly creating a rich internet application. But in the past couple of years that I’ve developed in Flex, I came across the usual issues with a framework, namely: it does a lot; it does a lot good; but it is just [...]

ColdFusion-Powered flex/air RIA

A few days ago, Adobe asked me to speak on a workshop about the integration between ColdFusion 8 and Flex. As a ColdFusion developer, the ColdFusion part was not a problem, but I was a bit afraid by the Flex part, since I’ve never used Flex or flex builder before.  I eventually decided that I [...]

Using the AIR 1.5 updater framework in Flex

I’ve been wanting to play with this for some time now, but I never got around to it … until today. Before AIR 1.5, you had to write a lot of code to be able to use an automatic update of your air application. That code included: · Present the user with an application update [...]

Flex coding: best practises

Today I found a couple of interesting articles from Sean the Flex guy about the best practices when you want to create a Flex project. You can find those articles here: http://www.adobe.com/devnet/flex/articles/best_practices_pt1.html http://www.adobe.com/devnet/flex/articles/best_practices_pt2.html   The first one contains some guidelines on how to structure and organize your project, while the second one contains about 90 best practices [...]