One of the nice things about javascript is that there are now so many libraries that make our lives easier. I've especially come to love some of the rubyesque string, enumerable helpers that prototype.js has to offer for javascript.
When recently started to program in ActionScript 3, it brought me back to the pre-prototype, pre-jquery, pre-dojo, etc, days of javascript. So, at least for my benefit I started to port many of the prototype.js string/enumerable functions for actionscript 3. The result can be found here.

Array helpers:
import com.as3extensions.helpers.EnumerableHelper;

var array:Array = ['foo', 'bar'];

// Calls the method 'toUpperCase()' on each element 
// of the array
EnumerableHelper.invoke(array, 'toUpperCase');
>>> ['FOO', 'BAR']

String helpers:
import com.as3extensions.helpers.StringHelper;

StringHelper.interpolate('My name is #{firstname} #{lastname}', 
                         {firstname: 'Foo', lastname: 'Bar'})
>>> My name is Foo Bar