Ciao a tutti,
io ho questo script:
panel.onRollOver = panelOver
function panelOver(){
this.onEnterFrame = scrollPanel
}
var b = stroke.getBounds (_root)
function scrollPanel(){
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax){
delete this.onEnterFrame;
}
if(btn_panel._x >= 21.4){
btn_panel._x = 21.4
}
if(btn_panel._x <= -463){
btn_panel._x = -463
}
var xdist = _xmouse - 300 ;
btn_panel._x += -xdist/10
}
panel.onRollOut = function(){
delete this.onEnterFrame;
}
In pratica è una slide di immagini che scorre a seconda della posizione del mouse. Vorrei però creare un effetto easeOut in modo che l'animazione non termini sempre di scatto ma gradualmente è possibile? :master:
Io generalmente uso il plug-in Lmc_tween per gli effetti ma qui non so come utilizzarloperciò se sapete altre strade fatevi sotto ...
Grazie mille