have a quick question is it possible to add a eventListener to a movie clip to listen for mouse rollover?
I have the following code:
Any ideas? Thanks
Attach Code
my_mc.onRollOver = function () {
trace ("onRollOver called");
};
I want something like this to take place, is there any way to make it happen? i notice that it just doesnt trigger. So i dont really know if you cant make the movie clip listen for it. Anyone know a way?
var mouseListener_obj:Object = new Object();
mouseListener_obj.onRollOver = function() {
this.tween(["_xscale","_yscale"],[50,50],1,customEasing);
};
glass_mc.addEventListener("onRollOver", mouseListener_obj);