Currently Reading

Image of Derivatives Demystified: A Step-by-Step Guide to Forwards, Futures, Swaps and Options (The Wiley Finance Series)

Image of Working Effectively with Legacy Code (Robert C Martin)

Image of Coders at Work: Reflections on the Craft of Programming

Image of Succeeding with Agile: Software Development Using Scrum (Addison-Wesley Signature)

Image of iPhone UK: The Missing Manual

Image of My Shit Life So Far

Recently Read

Image of iPhone Advanced Projects (Books for Professionals by Professionals)

Image of UML 2 for Dummies

Image of Cloud Atlas

Image of Advanced Actionscript 3 with Design Patterns

Image of Beginning iPhone 3 Development: Exploring the iPhone SDK

Image of ActionScript 3.0 Design Patterns: Object Oriented Programming Techniques (Adobe Developer Library)

Image of Refactoring: Improving the Design of Existing Code (Object Technology Series)

Image of Test Driven: TDD and Acceptance TDD for Java Developers

Image of Test Driven Development (The Addison-Wesley Signature Series)

Image of The Secrets of Consulting: A Guide to Giving and Getting Advice Successfully


October 15, 2008

Dashed VRule and HRule Components

Filed under: ActionScript, Flex — Anthony @ 2:55 pm

I am always coding dashed lines in ActionScript and I got sick of it so i was going to create some little components to use instead. But I had an idea why not google it first? And heypresto no need to build them as Justin Opitz has done it for us.

visit the post here

Thanks

October 14, 2008

SimpleXMLDecoder

Filed under: ActionScript, Flex — Anthony @ 12:42 am

I haven't written a post in a little while so I figured it was about time. I have recently started a project that has to deal with a lot of XML data and converting all that data into configuration objects VO's and other objects can be a bit of a pain. I use e4x a lot but I also find a little known Flex class called SimpleXMLDecoder really useful when I want to quickly convert an XML into an object.

var xmlDoc : XMLDocument = new XMLDocument( xmlhere );
var simpleXML : SimpleXMLDecoder = new SimpleXMLDecoder( false );
var xmlObject : Object = simpleXML.decode( xmlDoc );