Ciao a tutti ho un problema, ho un testo caricato esternamente con:
loadVariablesNum("testo1.txt",1);
ok, e una barra di scorrimento con questo script:
onClipEvent (load) {
xiniz = _x
yiniz = _y
}
onClipEvent (mouseDown) {
_level0.cerca.onEnterFrame= null;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop(2);
drag = true;
startDrag ("", false, xiniz , yiniz, xiniz, (yiniz + _root.scheda.schedaa.barsch._height) - _height);
}
}
onClipEvent (mouseUp) {
_level0.cercamov(_level0.cerca);
gotoAndStop(1);
stopDrag ();
drag = false;
}
onClipEvent (enterFrame) {
prop = Math.floor(((_y-_root.scheda.schedaa.barsch._y)*_root.tes.maxscrol l)/(_root.scheda.schedaa.barsch._height - _height));
if (drag) {
_root.tes.scroll = prop;
}
}
ok ora io dovrei far scorrere contemporaneamente al mio testo anche un clip che ho all'interno come posso fare cosa devo associargli.... grazie mille per l'aiuto!