Tag Archives: Flex

Memory Leak in Flex SDK 4.1 Spark VideoDisplay

In working on a small utility application (Adobe AIR) this week, I came across a pretty major memory leak in the beta Open Source Media Framework based Spark components in Flex 4.1 final. The utility I am building grabs over … Continue reading

Posted in Flex | Tagged , , | Leave a comment

Quick Tip: Changing Spark DragScroll Parameters

Say you have a Spark List in your application with a TileLayout and drag options toggled on: 1 2 3 4 5 <s:List itemRenderer="ThumbRenderer" dragEnabled="true" dragMoveEnabled="true" dropEnabled="true"> <s:layout> <s:TileLayout id="GalleryLayout"/> </s:layout> </s:List> But when you drag item up the list, … Continue reading

Posted in Flex | Tagged , | Leave a comment

Strange ActionScript dispatchEvent / addEventListener Gotcha

I came across a strange situation over the weekend where a custom event being broadcast through dispatchEvent() was not being caught by the registered listener object. To make things even more bizarre, hasEventListener() definitely showed the event as registered, and … Continue reading

Posted in ActionScript | Tagged , , | 3 Comments

Parsing Tweets with the TwitterString Class

While building a little Twitter aggregator for an upcoming conference, I found myself in need of a set of methods to create hyperlinks from three distinct elements that can be included within a tweet; links, usernames, and hashtags. I was … Continue reading

Posted in ActionScript, Flex | Tagged , , , | 3 Comments

Skinning a Spark Button in Flex 4

The more I work with Flex 4, the more I understand why certain choices were made regarding the new component architecture, especially in regard to skinning. I stumbled, at first, as the skinning model is quite different and can appear … Continue reading

Posted in Flex | Tagged , | 2 Comments