help! I am using the onMouseMove command inside a small movie. It works fine. this is it below.
animation.onMouseMove = function(){
mousedist=_xmouse-oldXmouse;
oldXmouse=_xmouse;
//speed = 5
if(mousedist>0)_level0.animation.nextFrame();
if(mousedist<0)_level0.animation.prevFrame();
};
BUT when I load the .swf into a bigger .swf movie with loadmovie command it doesn’t work anymore. that is, the animation doesn’t move when the mouse moves.
any ideas why?
below is loadMovie command.
wave_btn.onRelease = function() {
_root.generic_mc._x = 0;
_root.generic_mc.loadMovie(“emwaves.swf”);