Blog Archives

Flex Mobile Application Background

This is a short post, in which I show how to set a common background for your Flex Mobile Application.

In Flex 3, there was a backgroundImage style property, but in Flex 4 things have drastically changed. Often times, this means you need to re-skin things in order to achieve your goals.

Read the rest of this entry

Using MX Components on Flex/AIR Mobile

I recently was tasked to get part of an older Flex 3 application onto an iPad. Why not, right? I mean, FlashBuilder 4.5.1 and AIR 3.0 are awesome… This should be cake, right?

There’s a lil gotcha – Flex 3, or MX components, ooorrr Halo components, are not exactly welcomed on Mobile.

Fret not! I’ve figured out the task, and it’s rather simple. Read the rest of this entry

Handling Form Fields in Flex 4.5 / AIR Mobile

While doing mobile development, one of the most frustrating things has been form input.
If you’ve looked at any Playbook development, you’ll see QNX has something called ReturnKeyType specifically for this reason.
Being as stubborn as I am, I wanted a plain Flex approach at accomplishing what I wanted, and not to use the QNX library.

Read the rest of this entry

MobileNumericStepper, and MobileLabelStepper

As Flex 4 (and in this case particularly Hero [v4.5]) works its way into the public, we continue to see components that aren’t there yet. Sometimes they do exist, but haven’t been optimized for mobile (this also has some ambiguity as to what that fully entails).

In the interim, we have to fend for ourselves and build custom components… Well, that’s not always all that fun, but also not always that bad!

I’ve done the dirty work, and created a MobileNumericStepper, as well as a MobileLabelStepper as a parent to it.

Read the rest of this entry

Flex 4 Skin States

While there’s plenty of information about skinning your Flex 4 component, I haven’t found a whole bunch of information on how to get them to talk together. In most situations I would consider this bad practice, however there is often a need for identifying properties set on your component from your skin in order to display certain aspects properly.

Read the rest of this entry

Access to the Stage in Flex

I recently was working on an application, and needed to listen to KeyBoardEvent dispatches from the stage. This isn’t usually that much of an issue, except when your component needing to listen to these Events is created as part of the application creation process.

Read the rest of this entry

Session 4 – What is new in Flex 4?

Sorry for a jump in session numbers, but I was called to look at a bug and ended up missing my third session!!!

As for THIS session, we get a nice organized view of the new features of the Flex 4 SDK. While it is all very exciting, they seemed to have taken an approach to not overwhelm developers moving into this new construct.

Read the rest of this entry