Getting a buttons _x

hi, I have been trying to get a button’s _x using this._x in the buttons action thingy, but it returns the _root’s _x. Hmm it works with button_1._x of course but i dont get it, i read this only works for movie clips? if so any other way of getting a buttons _x? thanks in advance:D

Josh.

LOL, no, i’m really not. I have Ilyas and Senocular to thank for most of what I know.

But while we are at it…

button_array = new Array(b1,b2,b3,soOn);

can be rewritten as

button_array = [b1,b2,b3,soOn];

Since [] signifies an array. You can even replace just the regular empty array of

myArray = new Array();

with

myArray = [];

You can do the same for objects.

myOBJ = new Object();

can be replaced with

myOBJ = {};