Is it possible to dynamically name properties on a custom object?

Is it possible to dynamically name properties on a custom object ?

something like:

o:Object = new Object();

s:String = 'abcd'; // the name I want for my objects property

o.[s] = '1234'; // 1084: Syntax error: expecting identifier before leftbracket.

trace(o.abcd) // 1234

EDIT I want to do this as an associative array, so if there is a better alternative then I’d be happy with that as well.

Thanks!

S.