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:
////////////////////////////////////////
// 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;
}
/////////////////////////////////////////