Tweener Text Swap Animation

Posted: January 31st, 2010 | Filed under: AS3, Animation | 3 Comments » I came across this little trick and think it’s a great way to swap out copy in an easy and unique way. Using one of Tweener’s Textshortcut properties, you can change the copy in a textfield by tweening between strings. Typically I try to use native Flash tweening in these prototypes, but Tweener has this transition not found in Flash’s framework. more »


Bare Bones Flash MVC

Posted: January 31st, 2010 | Filed under: AS3, Design Patterns, Flash | No Comments » It’s nice to have a simplified version of an MVC architecture to start a new project with. Those familiar with MVC (Model, View, Controller) know that it’s a very scalable architecture and a great way to separate your data from the visual assets of your site, then allow the controller to interface between the two. Those unfamiliar will enjoy how well it allows the data, logic and view to work with each other in an encapsulated way. more »


Add/Subtract Items from an Array

Posted: January 31st, 2010 | Filed under: AS3, Flash | 6 Comments » Here is something I used for a sorting/filtering application. I needed a way to add and remove items from an array and have the button know whether or not it had been added. When a button is clicked, the event handler sends a boolean property to the clicked button setting it as added or not added. Because the button stores that property, when you click the button it can toggle it’s properties in and out of the array based on whether or not it has been added. more »