Hello there,
I have this mouse controlled sliding menu holding images for photogallery :
Code:
stop();
panel.onRollOver = panelOver;
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}
var b = stroke.getBounds(_root);
function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}
if(panel._x >= 10) {
panel._x = 10;
}
if(panel._x <= -1480) {
panel._x = -1480;
}
var xdist = _xmouse - 330;
panel._x += Math.round(-xdist / 7);
}
One problem is , is that it slides too quickly. Does anyone know how to write in a speed variable?
The second problem is that my friend wants the script to not stop at the end of the pics but to rotate the images. A little more difficult , but if anyone has the answer I would owe you bigtime!
This script is in the photo pages here:
http://nikising.bravehost.com/
Thanks so much for any help you can offer!
Nikising