# Fuse the sliding menu or ill like to

**URL:** <https://forum.kirupa.com/t/fuse-the-sliding-menu-or-ill-like-to/212332>\
**Category:** flash\
**Created:** [January 10, 2007, 8:43am UTC](https://forum.kirupa.com/t/fuse-the-sliding-menu-or-ill-like-to/212332 "2007-01-10T08:43:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dondeigo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/dondeigo/32/2806_2.png) [@dondeigo](https://forum.kirupa.com/u/dondeigo)\
**Post date:** [January 10, 2007, 8:43am UTC](https://forum.kirupa.com/t/fuse-the-sliding-menu-or-ill-like-to/212332/1 "2007-01-10T08:43:54Z")

</div>

A big Hello to all you genius people here at KirupaForum.

I’m seeking some help to make a sliding menu.  
Or I have the sliding menu, worked out but it isn’t running super smooth .

So ill like to combine the old code of the sliding menu whit fuse  
to make the sliding/tween run smoother.  
And use some of the fmp setting as well to make a motion blur wen tweenig and so on…

So can on of you beautiful brilliant people give a helping hand?:sure:

```php
////////////////////////////////////////
// I have this code on my buttons
////////////////////////////////////////

slide1_btn.onRelease = function():Void {
    menu.targetx = 46.0;
}

slide2_btn.onRelease = function():Void {
    menu.targetx = -324.6;
}

// And so on 
/////////////////////////////////////////
//and this pice of code on the sliding clip
/////////////////////////////////////////

onClipEvent (load) {
    targetx = 46.0;
    delay = 8;
}
onClipEvent (enterFrame) {
    distx = targetx-_x;
    _x += distx/delay;
}
/////////////////////////////////////////

```
