un piccolo favore...Aiuto...script slide
3 partecipanti
Pagina 1 di 1
un piccolo favore...Aiuto...script slide
Salve a tutti volevo chiedere una cosa è da tempo che cerco di creare uno slide per il menu del mio lg cookie ma non trovo nessun script che mi aiuta allo slide che vorrei io ora ho questo script:
onClipEvent (mouseDown) {
this.startDrag(false, "Xarrivo", "Yarrivo","Xpartenza","Ypartenza");
}onClipEvent (mouseUp) {
this.stopDrag();
}
Ma a me non mi basta questo slide perchè è un po lento io vorrei uno script che mia aiuta a fare uno slide più veloce come quello nel topmenu del tema icookie 4 ...GRAZIE in anticipo...SCUSATE di tutto
onClipEvent (mouseDown) {
this.startDrag(false, "Xarrivo", "Yarrivo","Xpartenza","Ypartenza");
}onClipEvent (mouseUp) {
this.stopDrag();
}
Ma a me non mi basta questo slide perchè è un po lento io vorrei uno script che mia aiuta a fare uno slide più veloce come quello nel topmenu del tema icookie 4 ...GRAZIE in anticipo...SCUSATE di tutto
ale93'- Recluta
- Messaggi : 2
Re: un piccolo favore...Aiuto...script slide
Ho guardato e non ho trovato niente che fà al caso mio xò ho trovato qst script:
onClipEvent(mouseDown)
{
this.startDrag(false, 0, 160, 248, 160);
slideto1 = false;
slideto2 = false;
}onClipEvent(mouseUp)
{
this.stopDrag();
if (page == 1)
{
if (this._x >= 190)
{
slideto1 = true;
slideto2 = false;
}
else
{
slideto1 = false;
slideto2 = true;
}
}
if (page == 2)
{
if (this._x <= 58)
{
slideto1 = false;
slideto2 = true;
}
else
{
slideto1 = true;
slideto2 = false;
}
}
}onClipEvent(load)
{
this._xscale = 200;
this._yscale = 200;
this._x = 367;
this._y = 230;
this._alpha = 0;
this._visible = false;
fadein = true;
}onClipEvent(enterFrame)
{
function pop()
{
_parent.popupnow = true;
}
if (this._x > 200)
{
page = 1;
}
if (this._x <= 48)
{
page = 2;
}
if (slideto1)
{
if (this._x < 247)
{
slidespeed = 248 - this._x;
this._x = this._x + slidespeed / 2;
if (this._x > 248)
{
this._x = 248;
slideto1 = false;
}
}
}
else
{
if (slideto2)
{
if (this._x > 0)
{
slidespeed = this._x;
this._x = this._x - slidespeed / 2;
if (this._x < 0)
{
this._x = 0;
slideto2 = false;
}
}
}
}
if (fadeout)
{
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
this._x = this._x + 12;
this._y = this._y + 7;
this._alpha = this._alpha - 15;
if (this._alpha < 10)
{
this._visible = false;
}
}
if (fadein)
{
this._visible = true;
this._xscale = this._xscale - 20;
this._yscale = this._yscale - 20;
this._x = this._x - 24;
this._y = this._y - 14;
this._alpha = this._alpha + 20;
if (this._alpha > 99)
{
fadein = false;
}
}
if (fadeout2)
{
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
this._x = this._x - 12;
this._y = this._y + 7;
this._alpha = this._alpha - 15;
if (this._alpha < 10)
{
this._visible = false;
}
}
}
Ma non ho nessuna idea come posso modificarlo e mettere le mie coordinate per lo slide ,se qualcuno è capace mi aiuterebbe molto in un eventuale nuovo topmenu fatto da me ...GRAZIE di nuovo in anticipo ...
onClipEvent(mouseDown)
{
this.startDrag(false, 0, 160, 248, 160);
slideto1 = false;
slideto2 = false;
}onClipEvent(mouseUp)
{
this.stopDrag();
if (page == 1)
{
if (this._x >= 190)
{
slideto1 = true;
slideto2 = false;
}
else
{
slideto1 = false;
slideto2 = true;
}
}
if (page == 2)
{
if (this._x <= 58)
{
slideto1 = false;
slideto2 = true;
}
else
{
slideto1 = true;
slideto2 = false;
}
}
}onClipEvent(load)
{
this._xscale = 200;
this._yscale = 200;
this._x = 367;
this._y = 230;
this._alpha = 0;
this._visible = false;
fadein = true;
}onClipEvent(enterFrame)
{
function pop()
{
_parent.popupnow = true;
}
if (this._x > 200)
{
page = 1;
}
if (this._x <= 48)
{
page = 2;
}
if (slideto1)
{
if (this._x < 247)
{
slidespeed = 248 - this._x;
this._x = this._x + slidespeed / 2;
if (this._x > 248)
{
this._x = 248;
slideto1 = false;
}
}
}
else
{
if (slideto2)
{
if (this._x > 0)
{
slidespeed = this._x;
this._x = this._x - slidespeed / 2;
if (this._x < 0)
{
this._x = 0;
slideto2 = false;
}
}
}
}
if (fadeout)
{
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
this._x = this._x + 12;
this._y = this._y + 7;
this._alpha = this._alpha - 15;
if (this._alpha < 10)
{
this._visible = false;
}
}
if (fadein)
{
this._visible = true;
this._xscale = this._xscale - 20;
this._yscale = this._yscale - 20;
this._x = this._x - 24;
this._y = this._y - 14;
this._alpha = this._alpha + 20;
if (this._alpha > 99)
{
fadein = false;
}
}
if (fadeout2)
{
this._xscale = this._xscale + 10;
this._yscale = this._yscale + 10;
this._x = this._x - 12;
this._y = this._y + 7;
this._alpha = this._alpha - 15;
if (this._alpha < 10)
{
this._visible = false;
}
}
}
Ma non ho nessuna idea come posso modificarlo e mettere le mie coordinate per lo slide ,se qualcuno è capace mi aiuterebbe molto in un eventuale nuovo topmenu fatto da me ...GRAZIE di nuovo in anticipo ...
ale93'- Recluta
- Messaggi : 2
Argomenti simili
» un piccolo aiuto per il tema htc hero
» Aiuto! KeyLock !!!! Aiuto Per Favore
» aiuto live wallpaper android per favore aiuto
» Piccolo Aiuto!!
» ragazzi una piccolo aiuto
» Aiuto! KeyLock !!!! Aiuto Per Favore
» aiuto live wallpaper android per favore aiuto
» Piccolo Aiuto!!
» ragazzi una piccolo aiuto
Pagina 1 di 1
Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.
|
|
Dom Mag 03, 2020 11:59 am Da eligabri44
» Siti per scaricare e vedere in streaming film ??
Ven Set 06, 2019 6:43 pm Da Aldo3
» film sui diritti civili
Ven Set 06, 2019 6:39 pm Da Aldo3
» Ciao a tutti
Mar Mag 01, 2018 10:52 am Da tonk
» Mi presento
Sab Ott 07, 2017 4:23 pm Da gcmmrt
» ciao a tutti
Dom Mar 26, 2017 2:15 pm Da Savio
» erwewweeerwreeweww
Dom Feb 26, 2017 4:06 pm Da inter1130
» Ciao a tutti dopo tanto tempo
Sab Feb 25, 2017 1:49 pm Da giulio99
» Ciao ragazzi
Mar Feb 21, 2017 1:56 pm Da xazazelx