Question
How to get Instance Name onRollOver
I have 10 Movie Clips and I gave all of them different
instance names.
when I roll over with the mouse I have the alpha go to 100
when I roll out it gos back to 50
ai_computer_01_mc.onRollOut = function() {
this._alpha = 50;
};
network_computer01_mc.onRollOver = function() {
this._alpha = 100;
};
Is there a way to find out what movie clip my mouse is over so I dont have to write the above 10 times one for each instance name?
I want to pass the instance name of the movie clip my mouse is currently over so I can pass it to a function.
when I roll over with the mouse I have the alpha go to 100
when I roll out it gos back to 50
ai_computer_01_mc.onRollOut = function() {
this._alpha = 50;
};
network_computer01_mc.onRollOver = function() {
this._alpha = 100;
};
Is there a way to find out what movie clip my mouse is over so I dont have to write the above 10 times one for each instance name?
I want to pass the instance name of the movie clip my mouse is currently over so I can pass it to a function.