I have this code and it works 90% of the way i want it to but the movie moves to whereever the mouse is on the x axis i want to limit it 20 like 15 pixels but can't seem to get it to work. Any Ideas? Thanks.
Code:onClipEvent (enterFrame) { _y += (_root._ymouse-_y); }





Bookmarks