-
Recent Posts
Recent Comments
Archives
- January 2012
- August 2011
- June 2011
- April 2011
- March 2011
- October 2010
- July 2010
- June 2010
- February 2010
- January 2010
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- July 2008
- June 2008
- May 2008
- February 2008
- January 2008
- November 2007
- August 2007
- July 2007
- May 2007
- April 2007
Categories
Meta
Category Archives: ActionScript 3
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 actionscript, builder, construction, deisgn patterns, encapsulation, oop
5 Comments
FDT and FlexUnit 4.1 Beta
FlexUnit 4 was a massive leap forward for Test Driven ActionScript 3 Development allowing us to make use of metadata annotations, hamcrest and easier asynchronous testing and I was delighted to discover that the flexunit.org team are still busy working … Continue reading
Reducing the size of SWF Files
Over at Moshi HQ, we’ve spent a fair bit of time looking at how to reduce the size of the SWFs we publish; here’s a quick checklist to rattle through to get the most bang for your buck (or in … Continue reading
Logging in ActionScript 3
Logging is a fundamental part of any mid to large scale application, your application needs to be able to talk to other developers and Q&A engineers to help diagnose problems and gain insight into what’s going on under the hood. … Continue reading
Error 2048 and Flash Policy File Logging
Whenever you are working with Flash or Flex applications which make use of 3rd party feeds or data sources (such as XML or JSON), you need to be aware of how the Flash Player deals with Cross Domain security issues. … Continue reading
Posted in ActionScript 3
1 Comment
FlexPMD and ANT – RuleSetFactory Error
Just a quick post to save someone a few minutes of headscratching! I’ve just finished integrating FlexPMD, Adobe’s latest opensource offering into my ant build scripts following their documentation when I hit this error: java.lang.NoClassDefFoundError: net/sourceforge/pmd/RuleSetFactory Looking at my taskdef, … Continue reading
Sorting Values Stored in a Dictionary
Looking through my incoming seaches from Google I’ve noticed that a lot of visitors to my site are trying to figure out how to sort values stored in a Dictionary. The short and simple answer is that you can’t as … Continue reading
Sorting values in ActionScript 3
One of the next big projects at work will involve displaying a list of data to the user, this list will be generated server side and sent down as un-ordered XML, it is up to the client to sort the … Continue reading
Posted in ActionScript 3
Leave a comment