Originariamente inviato da jeck
codice:
//tasto su
on (press) {
this.onEnterFrame=function(){
if (testo.scroll>1) {
testo.scroll = testo.scroll-1;
}
}
}
on(release){
delete this.onEnterFrame;
}
//tasto giù
on (press) {
if (testo.scroll<testo.maxscroll) {
testo.scroll = testo.scroll+1;
}
}
on(release){
delete this.onEnterFrame;
}
jack funziona solo il tasto su...provo a modificare il tasto giu'...