Second Talk at RIAcon

I'm giving a second talk at RIAcon (6th and 7th August) in just over a week.

Asynchronous unit testing with FlexUnit

A lot of operations in Flex are asynchronous. Even simple operations can be asynchronous like setting the selected item on a List box. This can make unit testing Flex code difficult.

For this session I show how to you can use features of FlexUnit (in particular the Async class) to simplify testing of ActionScript/MXML code and easily test asynchronous code. I'll show how this via real world code examples and describe in detail how to testing asynchronous code.


Tickets to RIACon are only $99 for two days and the conference is limited to 150 attendees. Here is the list of sessions.

Come along and meet with some of the best people in the ColdFusion, Flex, JavaScript and jQuery communities.

A Practical Guide to Connecting Hardware to Flex at Flash and the City

I recently gave a talk on using the Flex and the Arduino platform together for the Flash and the City conference in New York.

You can download a PDF of my talk (2 Mb) or view on slide share. The talk was recorded as soon as I get the link I'll add it here as well.

The talk showed how to to turn LEDs connected to an Arduino on and off from Flex, how to control the size of shapes in Flex from an Arduino and to communication with an Arduino XML web server from Flex.


Arduino Platform (Part II)

Here is the pdf of the slides of my online talk on "Arduino Platform Part II" for asDevs Download a PDF of my talk (3.5 MB).

The session was recorded and you can listen and view it here.

Any questions on my talk just comment below or email me.


Must have Flash Builder plugins

Here's the list of useful Flash Builder plugins that I use on a daily basis when working on Flex projects.

What Flex Builder plugins and tools do you do you use on a regular basis?


Heavy constructor JIT optimisation in ActionScript

I was running FlexPMD the other day over some code and it brought up this warning: "HeavyConstructor. Constructor must be as lightweight as possible. No control statement allowed, whereas a cyclomatic complexity of 2 has been detected. The Just-In-Time compiler does not compile constructors. Make them as lightweight as possible, or move the complexity of the code to a method called by the constructor. Then the complexity will be compiled by the JIT."

Huh? That's news to me, actionscript constructors are not compiled if they have a conditional statement in them?


Refactoring Binary Type ActionScript Classes

A little while ago I wrote some type safe binary classes Byte and Word for a CPU emulator I'm working on. The classes worked correctly and were good fit for what I needed but something bothered me about them. The Word and Byte classes had a lot of common code. This was not really a surprise because I first wrote the Byte class than did copy and pasted and made a few changes here and there to make the Word class. For just these two class that's probably OK, but I now needed a third class (a Nibble or 1/2 a Byte) so it was time to refactor.


IN operator differences in FlashPlayer 10.1 causes Advanced Data Grid multiple selection bug

One of the more subtle changes in FlashPlayer 10 vs FlashPlayer 10.1 is that the behavior of the IN operator has changed. The IN operator when used to loop over the properties of an object will return it's keys in a different order each time you run a program.


Bit and Byte classes in ActionScript

One of the features of ActionScript (good or bad depending on your point of view) is that it only has a few built in primitive types namely int, unit, Number and Boolean. Unlike other languages there's no long or byte type. I'm current working on a project that involves a lot of mucking about with bits and bytes and I thought I'd share the code.


cf.Objective(ANZ) all set to go

The workshops, sessions and speakers have been announced for cf.Objective(ANZ) and it's going to be a fantastic conference. It's being held in Melbourne Australia on the 17th (workshops), 18th and 19th of November.

I'll be giving a talk on ColdFusion security and risk analysis and showing how you can decide on what security features are effective and that you should implement on your project.

I'll also be running a one day hands on workshop on the open source Arduino platform and how you can hook it up to Flex and ColdFusion. By the end of the day you'll have a basic understanding of electronics components, digital and anolog inputs and outputs, how to use the Arduino platform and how it can communicate with the outside world.

Kai Koening is running a workshop on Flex 4 for ColdFusion developers and Charlie Arehart is running a workshop on solving ColdFusion performance and reliability issues.

Early bird pricing ends 31st of August. It's cheaper than last year so you have no excuse not to come along.

Bringing RIAs and Hardware together at Webinale in Berlin

Here is the code and a pdf of the slides of my talk on bringing RIAs hardware together at Webinale in Berlin Germany.

Flex code for all the demos and Arduino code for the demos.

Download a PDF of my talk (2 Mb) or view on slide share.

Any questions on my talk just comment below or email me.

More Entries