Any way to call an instance name in AS?

Edit: First problem fixed-- another question!

Is there any way to dynamically give a movieclip an instance name? This little process is gonna be spread out to a couple hundred dots, and while it’s not really all that hard to type in the variable by hand (in fact it’d “only” take half an hour or so), but the more done dynamically the better, I think.

/below already fixed!/

What I want to do is have a simple movie clip which checks it’s own instance name as a variable, and then gotoAndPlay(“thatvariable”);.

For example, say I have a movie clip with instance name “a1”. On the clip I’d like to put

onClipEvent (load) {
this.gotoAndPlay(_root.a1); //but in place of “_root.a1”, I’d like to be able to call the instance name so that I can copy and paste the code to multiple movieclips without manually changing the name.
}

_root.a1 is a variable which contains the name of a frame inside of a1, so when you boil it down, it’s just telling itself to gotoAndPlay(“framename”) in a roundabout way.

Is this at all possible?