i have this script in a button:
on (release){
_root.var="instancename";
}
and the button-instance itself is called “instancename”.
now, i want to have many buttons with different names, and each time such a button is being clicked, _root.var should represent the instancename of the clicked button. with normal scripting, i would have to type in the instancename twice; first, i will would have to type in the instancename of the instance, then i would have to type it again in the on(release)-block.
question:
is there any keyword, like [FONT=Courier New] “this” [/FONT], which i could use in a buttoninstance to reference the instancename of the instance without typing the instancename again in the script of the instance?
cheers, instantjesus