I recently recieved some good advice from oldnewbie but can not get this to work. I am wanting to move a symbol with a button rollover on the condition that its _x value does not exceed 350. i have tried
on (release) {
if (this._parent.my_symbol._x <= 350)
_level0.box1._x += 20;
}
else {
stop
}
Where have i gone wrong with this.
on (release) {
if (this._parent.my_symbol._x <= 350)
_level0.box1._x += 20;
}
else {
stop
}
Where have i gone wrong with this.