Variable change to instance name

i have a movieclip prototype function set on a frame’s acitons and i want to add to it a way to change a variable stored in the _root to the name of the instance i’m rolling over


this.onRollOver = function() {
              _root.variable = (this.instancename);
}

is this possible?

The _name feature in Flash :crazy:

this.onRollOver = function() {
              _root.variable = this._name;
}

works like a charm as always … thank you very much beta

No problem :slight_smile: