[FONT=Arial][SIZE=1][COLOR=#808080][SIZE=3][SIZE=3][COLOR=Black]The Draggable Menu tutorial 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) 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]
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.
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