Monthly Archives: October 2010

Fluent Builder for TweenLite

After my previous post about Fluent Builders, I have been having a play with a quick example I knocked up for Jack Doyle’s excellent TweenLite, currently, it’s looking a bit like this: TweenLite syntax: TweenLite.to(box, 1.5, { x: 200, y: … Continue reading

Posted in ActionScript 3 | Leave a comment

Builder Pattern in ActionScript – Fluent Constructors

How many times have you come across a class which looks like this: package nutrition.model { public class NutritionFacts { private var _servingSize : uint; // (mL) required private var _servings : uint; // (per container) required private var _calories … Continue reading

Posted in ActionScript 3 | Tagged , , , , , | 5 Comments