Brian Lin
asked on
Array is not working ( AS2 )
I have 4 buttons and I am trying to rollover individually. I try to use the following method but it is not really working. Any advises is appreciate.
var totalObjects = 4;
for (i = 1; i < totalObjects; i++) {
obj[i].onRollOver = function () {
this.gotoAndStop ("safe_drag");
};
obj[i].onRollOut = function () {
this.gotoAndStop ("original_state");
};
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There was a commented line (line 3) that you can remove (I forgot!)
ASKER
Yes, I saw that, Thanks!
ASKER