Hi,
First off, I dont see anywhere in your code sample where your incrementing the variable "count" besides the on press event. Second, using setProperty is a flash 4 method and can be addressed with dot notation.....
setProperty(this, _y, 32.1);
in dot notation would look like....
this._y=32.1;
What is the original value of your count variable and how are you incrementing it? In the code sample you posted, variable "count" is only increased on a press event. A nested if statement is one that resides inside of another if statement. The code sample you posted uses seperate if statements inside the on press event handler. Maybe a more precise description of what your trying to achieve would help.
NTD
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes
Bookmarks