Dynamically created objects

When dynamically creating movieclips, we can give them names by which they can be referenced like this

for (a=0; a<clipTot; a++){
var tmpClip:MovieClip = this.createEmptyMovieClip("clip" + a, a + 1);
}

This way I could use:

this.clip2._x = blah blah etc etc

How would I go about doing the same thing when creating Objects instead of movieClips?