DOF w/ PV3D FTW
By Mims Wright | on September 29, 2007
In AS3, Flash, OMGWTFBBQ, Programming, Site-seeing | 1 Comment
Looking at this makes me happy.
Instant Model Binding With Reflection
By Roger Braunstein | on September 20, 2007
In AS3, Hacks | 5 Comments
Like most of the things I get excited about and share with you, this technique really doesn’t have much to it, but I love its elegance, how it works in the background and gets out of your way. While it’s really simple I think this one is a real gem, ’cause when you look at a class that uses it, it looks like magic!
Okay, so you know how when you’re writing a site or app that’s of a small to medium scale, you default to storing data in XML, and you map that XML to model classes, usually pretty directly? Or, maybe you use a configuration file for your site to load in some constants or something, and XML is a pretty easy choice for this. With E4X you can really parse through that XML quickly.
Continue reading Instant Model Binding With Reflection…
Flex 3 Tips, Tricks, and Gotchas (A Series)
By Roger Braunstein | on September 13, 2007
In Authors, Flex, Software Design | 7 Comments
At Your Majesty, I just launched a small (2.5kloc outside libraries, 2 weeks dev/qa time) site using Flex 3: the Axe Vice Naughty to Nice sweepstakes site. I chose Flex for this project because of the exceedingly short dev cycle, and because it contained forms and validation I could take out-of-the-box. However, like any project, I ran into a fair share of problems from annoying to outrageously aggravating, and I feel like it always helps to document what I learned, not just for everyone else but for my future self. You’d be surprised how often I have to open up chapters I wrote myself for the AS3 Bible or Introduction to Flex 2 and refresh my “memory,” if you can even call my rattling collection of underused neurons such a thing. Read on for tons of tips, tricks, techniques, and tilapia.
Continue reading Flex 3 Tips, Tricks, and Gotchas (A Series)…