Visualizzazione dei risultati da 1 a 2 su 2

Discussione: testo che scorre

  1. #1

    testo che scorre

    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!

  2. #2
    nessuno?.... grazie mille!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.