Flex

Using Resource Bundles in MXML for simple strings

There are a few ways developers can use resource bundles in a flex application. When using a resource bundle, in particular a simple string, inside of an mxml file you can gain access to the resource using the resourceManager or … Continued

Skinning ComboBox with Error State

Since the ComboBox doesn’t come with an out-of-the-box error state / skin without using an error string, you can grab the sample code below to give your comboBox an error skin. The example implements the interface IValidatable which for the … Continued

Compile ASDocs with ANT

Continuing on with ANT – Flex compilation, this sample script below will help you output ASDocs for your projects deliverable.

Compile Flex applications using ANT

A quick setup and example of how to compile a Flex application using ANT. This example will show the basics of how to run the ANT script to compile your flex application, I will walk through more complex examples in … Continued

Using tokens in resource bundles

A quick sample on how to pass in token values to a resource bundle string. When you need to replace a token value in your bundle, you will want to use the resourceManager or ResourceManager and pass in the value … Continued

Flex Keycodes

This is more a post-to-self regarding Key Code values in Flex.

Hello MXNA

Long time listener, first time caller here, I’ve been aggregated by Adobe Feeds, and im looking forward to posting a lot more relevant information related to AIR, FLEX, RIA development through my experiences and research.

Handling Keyboard Events

Im working on a project that required a Keyboard Manager to track shortcut keys within the Flex app, so i went ahead a wrote this quick little POC that I later incorporated into the project. I handle shortcut keys by … Continued

Flex Debugger Crashes Safari

So I had one of those awful days at work yesterday, we have all been through it at one point or another, where basically for no reason at all, everything started breaking and nothing would work. All I wanted to … Continued

Flex 3 Profiler & [tincan]

While profiling an application I’m working on I came across and interesting method in my performance snapshot. Method [tincan], for those of you wondering what this is, as I was, I Googled Flex 3 [tincan] and came across this post … Continued

Flex Application Life Cycle

In the last project I was working on we were developing more so based on Flex’s Application and component life cycles. Binding data within the life cycle helps eliminate the need for weak references as well as direct mxml bindings … Continued

Flex Call Stack and callLater()

Ive used callLater() quite a few times before, but about a week ago a co-worker asked me if I knew exactly when callLater() was called. Well I think its 1 millisecond after the method executes, to which he re-asked if … Continued

Image Load I/O Error in Flex

On a project im working on I ran into a very strange error when trying to load in a simple .jpg image. The image wouldn’t load. Now this sounds like a very familiar issue and easily solvable right? That what … Continued

Enum toArray()

There have been plenty of times that Ive needed to reuse the values of my enums as an array. A good example of this would be an enumeration of US states. There are many ways of doing this, however I … Continued

Externalizing CSS Text for Designer

Heres a quick and easy way to separate font styles from component styles which will allow ux teams to skin fonts independent of the development team or even independent of the encapsulating component itself. This all came up from a … Continued

Adobe Photoshop Express

Adobe Photoshop Express, a cool little flex app offering up some bare bones features picasa style. Nonetheless its a very clean interface, very well done, and just good fun to play with. Signing up is pretty painless, you get 2gb … Continued

Flex skinning links

Just a quick list of some links for skinning in flex, programmatic, graphic, or what have you. Ill be updating this list here and there as I consolidate more links.