The little Flexer
Once upon a time, in a dark small office.
Kaspar was trying to learn Flex but didn't have a real project. He then decided that it would be a good idea to look at Data-Driven Controls. These are most useful in combination with an external datasources in XML format.
So he decided how to write a mx:Tree application that imports XML data.
He decided to play with a little example.
So he went to see the LiveDocs and copied an example.
The example worked but he didn't understand why since he didn't know about E4X.
He then decided to learn e4X first.
Reading 2-3 tutorials and creating a simple example only took 2-3 hours.
He now understood how to write e4X code in Flex.
Divide a problem into subproblems and you will get there ...
ECMAscript for XML