Archive for January, 2010

Data Binding Series

January 22, 2010 1 comment

Ever {wonder} how data binding works? The magic of data binding is a combination of code generation by the flex pre-compiler and the Flex event model, which is an implementation of the observer pattern.
Read more…

Unknown error generating output application.xml files

January 15, 2010 Leave a comment

I’ve been implementing a new project using the TDD methodology using some of the new flash builder tools – specifically the “Execute FlexUnit Tests” method when you right click on a test case class.

When the project matured enough to check into SVN, I noticed a weird error:

Unknown error generating output application.xml files.

Read more…

assertEquals using != and the difference between != and !==

January 4, 2010 Leave a comment

When using the assertEquals method in Flexunit 4, it is important to understand how the != operator works.

I was under the assumption that != checked the values of the items on either side of the operand, while the !== checked the reference, but != checking values is only partially true.

Read more…