Sandboxing in Actionscript 3.0

Posted by Kristofer Joseph Fri, 22 May 2009 20:17:20 GMT

I wanted to take a minute and share a development approach I find is very useful. I call it Sandboxing. All it really is is a separate project that you do all of your figuring out in. It might seem obvious to a lot of people, but to those who don’t use this approach, it is amazing how much more productive you are once you set it up.

How to set up a Sandbox

  • Create a new project ( I use a plain old vanilla Actionscript project )
  • Create a new class for whatever you are figuring out
  • In your Sandbox class constructor add a new WhateverTheTestClassIs()
  • Comment it our once you are done ( just in case you want to reference it later )
  • Rinse Repeat

Seems dead simple I know but t keeps you focused on the problem at hand instead of mucking around with whatever larger project you are working on. I don’t even deal with packages, just throw them in the root. Fast, easy, done.

Demo Sandbox Project

2 comments | atom

Comments

Leave a response

  1. Todd
    5 days later:

    hell yes and it can save you hours if you are working on a large codebase that takes more than a minute to compile good show

  2. Jeremy
    9 months later:

    I do exactly the same thing. I’ve got a perpetual “Sandbox” project open in my Flash Builder.

Leave a comment