BetaDesigns( Blog ) Flex and Component Development

15Oct/080

Dashed VRule and HRule Components

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

14Oct/080

SimpleXMLDecoder

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.

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