Ciao a tutti, ho scaricato dalla rete un scroll di testo ma non riesco a farlo funzionare..e non capisco dev'è l'errore, potete aiutarmi??
Lo scroll è qui: http://flash-mx.html.it/movies/view_movie.asp?id=789
sto provato ad inserirlo nel mio filmato, quindi, sul primo frame imposto l'area dello scroll:
//Top is how far the button is placed from the top of the stage.
top=45;
bottom=330;
//slide is the imaginary verticle line on which the button slides
slide = 600;
//Factor is a decimal which represents scale. With these settings,
//every factor of 1.0 shows 16 screens, plus the original for 17 total.
factor=1;
//This next line shows the acceleration at which the display starts
//and how long it takes to stop. 3 is a good number for this one!
ease=3;
sul pulsante:
onClipEvent (enterFrame) {
setProperty("_root.Norman.DarkIN", _alpha, "90");
setProperty("_root.Norman.LightIN", _alpha, "75");
if (status == 1) {
setProperty("_root.Norman.LightIN", _visible, "100");
setProperty("_root.Norman.DarkIN", _visible, "0");
}
if (status == 0) {
setProperty("_root.Norman.LightIN", _visible, "0");
setProperty("_root.Norman.DarkIN", _visible, "100");
}
}
on (rollOver, dragOver) {
status = 1;
}
on (rollOut, dragOut) {
status = 0;
}
on (press) {
startDrag(this, false, _root.slide, _root.top, _root.slide, _root.bottom);
}
on (release, releaseOutside) {
stopDrag();
}
mentre sul movieClip che contiene il testo:
onClipEvent (enterFrame) {
Y=(getProperty("_root.Norman",_y)-(_root.top))*(_root.factor);
newY = oldY - (Y+oldY)/(_root.ease);
setProperty("_root.WindowIN.Nadine",_y,newY);
oldY=newY;
}
![]()
![]()
![]()
grazie
Lia