Category Archives: Flex

AS3 Yammer Library

For the past few months I have been working on an AS3 library that wraps the Yammer API for use in Flash, Flex, and AIR projects. The biggest hurdle was making the application work for the web. As it is now, for Flash projects, you still need to be targeting Flash player [...]
Also posted in AIR, API, Flash Builder 4, Flex 4 | Tagged , , , | 1 Comment

Custom AIR updater interface using ApplicationUpdater

To tell you the truth, I never gave the ApplicationUpdaterUI much thought in terms of memory use before this post. I just thought it was a great way to add a complete update system to your AIR applications. I had not thought it could be so memory intensive until a recent conversation with [...]
Also posted in AIR | Tagged , , , | 7 Comments

Garbage collection and styles

I read a really great post in my endless search for better garbage collection in AIR and Flex. Bernd Bindreiter of firstrow RIA posted a 5-part series on garbage collection and one of them involves removing skins from Button controls in order to have them garbage collected properly. In his post he [...]
Posted in Flex | 1 Comment

Adobe MAX 2009 – Los Angeles

This year Adobe Max 2009 is in my own backyard, well sort of 6 miles up the street, which means about an hour away in LA traffic. I am hoping to get in for free some how, either through Adobe Max Awards or by posting the Adobe Max Widget. See everyone there, maybe…
Also posted in AIR, Flex News | Tagged , , , , , | Leave a comment

AIR :: TextField bug when resetting HTML text.

I ran into a really strange issue that only occurs within AIR applications (AIR 1.5.1/1.5.2). When I create a TextField control, set it's style, and then assign it HTML text it appears fine. However, if I wish to reset that TextField content and the original content has links, the entire replaced content becomes one HTML link. I think the issue can be better explained with some images and some code samples.
Also posted in AIR, Bugs | Tagged , , , , , | Leave a comment

Flex :: Truncating HTML Text

With Flex truncating text within a Label control is easily done by setting the property “truncateToFit” to true. This parameter doesn’t do much when using the Text or TextArea controls in Flex. To truncate text in these controls you would have to build your own function to count characters and add the [...]
Also posted in AIR, Flex 3 | Tagged , , , , | 5 Comments

Garbage Collection and Event Listeners

On a recent AIR project I have become aware and subsequently obsessed with memory. My concerns have centered around garbage collection and event listeners, specifically how you clean up event listeners to allow Garbage Collection (GC) to clean up objects. Most DisplayObjects implement the EventDispatcher class that allows it to broadcast events. [...]
Also posted in AIR, Flash, Flex 3 | Tagged , , , , | 3 Comments

AIR :: NativeMenu issue on Mac

I think the NativeMenu is a great option for AIR applications as you can get a consistent look for the application that matches the operating system. The other advantage is that NativeMenu’s are “outside” of the application and do not get clipped as they would if you just created a popup Canvas with a [...]
Also posted in AIR | Tagged , , , , | 1 Comment

HTTP Status 201 causing Flex #2032 Error in IE only

I ran into a problem right when we were going to launch a new Flex web-based application to production (of course) with Internet Explorer and Flex. I was calling an RESTful service that returns XML and using the built-in Flex HTTPService with either POST/GET as the method for the request. Most [...]
Also posted in API, Flash | Tagged , , , , , , | 3 Comments

Smooth Scrolling HorizontalList

This example is based on Alex Harui’s Smooth Scrolling List. It just changes the code to work with the HorizontalList control rather than the List control. The SmoothHorizontalScrollingList class extends the HorizontalList control adding the needed functionality to allow smooth scrolling:
Also posted in Component | Tagged , | 13 Comments


  • Thanksmister on Twitter

    View Michael Ritchie's profile on LinkedIn