Ok… I have a question regarding methods within a class.
I currently have a class that has a method that creates new duplicates of a clip on the screen, changes some of their properties (such as color, and text display), and then arranges them in a straight column.
Inside that method, I have some clipEvent Statements for each button.
currentButton.onRollOver = function() {
this._alpha = 70;
expandButton(this);
};
currentButton.onRollOut = function() {
this._alpha = 100;
shrinkButton(this);
};
Now, the two functions that are called, expandButton() and shrinkButton(), will not execute. (they are other functions built into this class.)
What would cause this? And more importantly, how might I go about fixing it? (Currently I’ve just copied the code from each function into the clipEvent functions, which works.) Is there any other way to remedy this?