Hi all,
I use the following AS2 to play/rewind MCs as your mouse moves over or off the MC:
I assign this function to MCs with the following:Code:function someFunction(obj) { if (obj.hitTest(_root._xmouse, _root._ymouse, true) && obj._currentframe<obj._totalframes) { obj.nextFrame(); } if (!obj.hitTest(_root._xmouse, _root._ymouse, true) && obj._currentframe>1) { obj.prevFrame(); } }
This causes any listeners for nested MCs within someMC to stop working.Code:_root.someMC.onEnterFrame = function () { someFunction(this); }
Does anyone know how to get around this? Thanks for any responses!





Bookmarks