Category Archives: flex

Building Flex 4.1 projects with Maven and Flexmojos

Adobe relies on ant for its main flex build tool, but Sonatype now has a very functional Maven 3 plugin. It’s still in beta but seems stable enough, and it has the usual advantages over ant. To try it out, … Continue reading

Posted in flex, software | Tagged , | 7 Comments

Developing for the Blackberry Playbook with Flex

In early March, I noticed RIM’s offer to develop an app for their new tablet, sportily named ‘The Playbook’, by March 31 to win a free device. Because I wanted to try out Adobe’s new 4.5 mobile SDK anyway and … Continue reading

Posted in flex, software | Tagged | Leave a comment

Asynchronous testing with events in Flexunit

Testing of actionscript code is not very useful if your tests can’t wait for and react to events. Flexunit is the main unit testing framework for Flex and it has some nice tools for setting up asynchronous tests. The code … Continue reading

Posted in flex, software | Tagged , | 1 Comment

How to set up a flex unit test with ant and Hudson

I’ve done a lot of unit testing in java before, but none in actionscript and not really much on front-end code in general, so I thought I’d give it a try. Before I tried anything too tricky, I wanted to … Continue reading

Posted in flex, software | Tagged | 4 Comments

How to make custom-shaped tabs in Flex

Flex gives you decent tab components that are simple to use, but if you want a shape more interesting than a rectangle with rounded corners, it takes a little extra work. Start with a basic TabBar: which gets you this… … Continue reading

Posted in flex, software | Tagged | Leave a comment

Does actionscript have javascript’s gotchas?

Actionscript is a dialect of ECMAScript and therefore very close to javascript, but it really doesn’t feel it, especially when you’re following the usual advice to use static typing. I was curious if some of javascript’s peculiarities (like these and … Continue reading

Posted in flex, software | Tagged | 2 Comments