lola2001
Thread Starter
- Joined
- Jan 29, 2001
- Messages
- 1,975
I have a sliding menu with this script:
onClipEvent (load) {
xskal = 100;
yskal = 100;
jump = false;
sX = 0;
sY = 0;
multiplikator = .8;
ratio = .3;
titel = "Contact";
}
onClipEvent (enterFrame) {
if (!jump) {
sX = Number(sX*multiplikator)+Number((xskal-_xscale)*ratio);
sY = Number(sY*multiplikator)+Number((yskal-_yscale)*ratio);
_xscale += sX;
_yscale += sY;
}
}
If I try to add an on.release to the buttons the above script won't work anymore. I tried making an invisable button and it works find but the script above is no longer working. Any suggestions?
onClipEvent (load) {
xskal = 100;
yskal = 100;
jump = false;
sX = 0;
sY = 0;
multiplikator = .8;
ratio = .3;
titel = "Contact";
}
onClipEvent (enterFrame) {
if (!jump) {
sX = Number(sX*multiplikator)+Number((xskal-_xscale)*ratio);
sY = Number(sY*multiplikator)+Number((yskal-_yscale)*ratio);
_xscale += sX;
_yscale += sY;
}
}
If I try to add an on.release to the buttons the above script won't work anymore. I tried making an invisable button and it works find but the script above is no longer working. Any suggestions?