im hacking apart yet another file that someone else wrote, and having trouble getting my x/y positioning just right... there is a clip down on the bottom of the stage, mouse is supposed to move the clip right if you're on the left side of the clip, and move the clip left if you're on the right side of the clip. currently it just jigs around all fucked up like while you're up in the middle of the stage above the clip. anyone see what im doing wrong here? working file is herehttp://point83.com/junk/navbuildscroll.fla
supposed to be working like the file here: http://www.flashkit.com/tutorials/Interactivity/Navigation/Horizont-Jeremy_B-744/index.php
code on the clip: 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; }
it's just the x/y position that i have off, but i cant seem to get it correct. ill have your baby if you can tweek this to work right. several babies.
nevermind. i figured this one out. ill have my own babies thanks