This. question

on (press) {
_root.ynew = this._y+(this._height/2);

when i use that with ‘this’ it doesnt work like i expect but when i give the object an instance name and replace ‘this’ with that name it does work like i think it should. Am i totally missing what ‘this’ does?



when used ON buttons, this refers to the timeline the button is placed. When this is used ON movieclips, it refers to THAT movieclip.

thanks for the reply

how do you recommend to use more then one button

i was going to do something like this: in a loop

but what would do?