Hi ,
I want to write a function in which i want to trace/get a movie clip’s name on which i m clicking… By this method i dont have to write code on all movie clips and it will reduced my time also.
I want to right a function like :
var MouseListener:Object = new Object();
MouseListener.onMouseDown = function() {
mvis = this._name;
trace("mvis : "+mvis);
};
Mouse.addListener(MouseListener);
but it is not giving the movie clip’s name…
What is the another option to do this ?
can somebody please help me?
-soha