Ok I have been randomly entering numbers so that when you move the mouse left the images move right and so on…
This is the code I’m using [I think I got it from FK originally a while back??].
onClipEvent (mouseMove) {
xmousepos1 = _xmouse;
ymousepos1 = _ymouse;
if (xmousepos1>xmousepos2 && ymousepos1>-98 && ymousepos1<-33) {
_root.scrollclip.nextFrame();
}
if (xmousepos1-98 && ymousepos1<-33) {
_root.scrollclip.prevFrame();
}
if (ymousepos1<-98 || ymousepos1>-33) {
play ();
}
xmousepos2 = _xmouse;
ymousepos2 = _ymouse;
}
As you can see from my FLA it’s not quite working the way it should. Is there a cleaner way of doing this?
If so could someone kindly point me in the right direction before I beat myself to death with my mouse.