Get the Flash Player to see the slideshow.

Category Archives: as3

reflection [as3]

[we're not talking about those mirror-images that were hip in Flash for a year.] reflection allows your code to inspect its own properties, methods, type, parent-type… . used in recipes including copying xml values to object properties & creating a decorator which extends proxy. I’m putting useful examples below, in one convient spot. ReflectionUtil.rtf includes: [...]

observer pattern as MVC enabler

I had been building variations of MVC without implementing the Observer pattern. Now having studied Observer, I realize how to do MVC properly. MVC without Observer is like NATO without formal delegates. You’d let every citizen in every nation contact every other directly. We want our model to publish to a group of subscribers. Flex [...]

horizontal accordion component [as3]

Built a Horizontal Accordion component for the Boys & Girls Club. The Horizontal Accordion is made of different Panels, each of which automatically tab-order their child Sprites. Many Panels contain Text Input fields. Each Text Input field includes a Flex-style means to add Validation. … There’s other less-cool stuff being done all over the place [...]