Skip to main content
November 10, 2006
Question

How to get Instance Name onRollOver

  • November 10, 2006
  • 2 replies
  • 221 views
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.
This topic has been closed for replies.

2 replies

November 10, 2006
Sorry double post.
November 10, 2006
Something like this?