Instancename at runtime

Hi,

I’m trying to access the instance name of a button I set at designtime through actionscript at runtime… It seems the instancename is changed during compile?

quick example. I have a button with an instance name of “TestMe”

on (release) {
	trace (this._name);
}

… I would think would output “TestMe”, but it seems to have renamed it to “Instance128”.

Is it possible to access the designtime instance name? Macromedia mentions in it’s seminar training outline about using movieclip instance names to set run time variables.

I’m trying to do essentially name my button the same name as the framename I want it to navigate to so I can do…

on (release) {
	_root.Details.gotoAndStop(this._name);
}

… and eliminate the need for duplicate copies of the button symbol.

Thanks in advance.

Josh