Posted by Jacob Wright in ActionScript 3, Flash, ReflexFeb 17th, 2010 | 6 Comments
Update: The final implementation.
Monday I wrote about how I would use the observer pattern to alter the functionality of getters/setters and respond to changes without using Flash's events. Tyler and I brainstormed more about the solution and as I knew would happen we came up with a better implementation.
Changes
One thing I didn't like about my initial go at it, is that you had to create a class with three methods, and usually you only used one of them. So methods were being called that didn't need to be for the sake of it. We decided to add functions on an as-needed basis. I named the different...
Posted by Jacob Wright in ActionScript 3, Flash, ReflexFeb 8th, 2010 | 8 Comments
Update: A post about a trial implementation, and then the final implementation.
I've been trying to figure out the best way to include a styling framework with Reflex as needed, without requiring APIs and including extra classes in the core. Pay-as-you-go. The solution that I finally came up with turns out to be great for not only styling, but effects/transitions and data-binding too. I'll start with data-binding to try and describe the benefit.
Flex Data-binding
In Flex we have data-binding. Data-binding is cool. Allows us to do stuff a lot easier. We use it in almost everything we write in Flex.
Unfortunately,...