Need help newbie

hi i im new to kirupa this site roks!:mu:

well i have a little problem with a “game” i im working on so here is it

i have a red scuare in the stage and every time u click it it gets littler and i put and if statement that should de lete the square if the width is equal or less than 50(the width of the square is 100)but i got a problem it dosent read the statemen or executit wen it enter to the movie heres the code:


cuadro.onPress = function() {
this._width -= 10;
this._height -= 10;

if (cuadro._width<=50) {
trace(“the width is 50”);

tnx:krazy: :cool: :bad: :ch: :book: :whistle: