# Need help w/ the Draggable Menu tutorial, please

**URL:** <https://forum.kirupa.com/t/need-help-w-the-draggable-menu-tutorial-please/190799>\
**Category:** Uncategorized\
**Created:** [June 14, 2006, 7:51pm UTC](https://forum.kirupa.com/t/need-help-w-the-draggable-menu-tutorial-please/190799 "2006-06-14T19:51:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stateofdesign](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@stateofdesign](https://forum.kirupa.com/u/stateofdesign)\
**Post date:** [June 14, 2006, 7:51pm UTC](https://forum.kirupa.com/t/need-help-w-the-draggable-menu-tutorial-please/190799/1 "2006-06-14T19:51:51Z")

</div>

[FONT=Arial][SIZE=1][COLOR=#808080][SIZE=3][SIZE=3][COLOR=Black]The **[Draggable Menu tutorial](http://www.kirupa.com/developer/flash5/menudragger2.htm)** has saved me so many headaches.

I have encountered one small problem though, and i was hoping someone could help me out with it, or at least lead me in the right direction.

[HERE (www.bksllc.com/flash](http://www.bksllc.com/flash/)) is a link to the page containing the FLA file. (the swf file was way too large to post, sorry). The file is 1.5mb and has no pre-loader.

If you click on the “portfolio” button in my movie, it will bring you to the draggable menu.

I have made sure that all of the text, and all of the MCs that the text files lay in are rounded to .0 and are 100.0%

For some reason though, the text still comes out blurry at times. Sometimes its clear as a summer sky, and sometimes not. Can you help me out? is there something i can put into the code to make it stop on an even integer (by this i mean so that it stops on a .0) Is that really the problem though?

Here is the code I used for the slider menu:

[/COLOR][/SIZE][/SIZE][/COLOR][/SIZE][/FONT]

```auto
onClipEvent (load) {
_y = _root.pos._y ;
_x = _root.pos._x -_root.pos._width/2+_width/2 ;
positiongeneral = _x ;
}
onClipEvent (enterFrame) {
dest = positiongeneral - _root.drag.ratio*_root.drag.dxdrag ;
pos = this._x ;
this._x += (dest - pos) /2;
}

```

and here is the code i’m using for the actual slider.

```auto
onClipEvent (load) {
    _x = _root.box._x-_root.box._width/2+_width/2 ;
    _y = _root.box._y ;
    xold = _x ;
    ratio = _root.projects._width/_root.box._width ;
}
onClipEvent (enterFrame) {
if (dragging) {
if((_root._xmouse>_root.box._x-_root.box._width/2) and (_root._xmouse<_root.box._x+_root.box._width/2)) {
_x = _root._xmouse ;
dxdrag = _x - xold ;
}
}
}

```

Again, thanks for any help or direction. I love this site!

Alex
