Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    avanti o dietro col mouse

    ho questo script

    onClipEvent (enterFrame) {
    _root.topo=_root.mc._xmouse;
    if (_root.topo>0) {
    nextFrame();
    }else{
    prevFrame();
    }
    }

    che non funziona, ma non ho capit0o xkč...ki me lo sa dire?
    ...Ignorance is bliss...

  2. #2
    mm allora per me sbagli qui

    codice:
    _root.topo=_root.mc._xmouse;
    
    _root.topo._x = _root._xmouse
    
    se invece topo č una var
    
    var topo = _root._xmouse;
    
    per verificare prova
    
    onClipEvent (enterFrame) { 
    var topo =_root._xmouse;
    trace (topo) 
    if (_root.topo>0) { 
    nextFrame(); 
    }else{ 
    prevFrame(); 
    } 
    }
    ma comunque in MX andrebbe meglio

    codice:
    _root.onEnterFrame = function(){
                 var topo = _root._xmouse
                 if (topo > 0){
                 _cosa(_root??)nextFrame()
                 }
    .....

  3. #3
    l'associazione funziona, l'unica cosa che non funziona č che non entra nč nell'if nč nell'else...o meglio, entrava ma non sapeva cosa doveva aumentare o diminuire di frame, in pratica sbagliavo

    _root.nextFrame()

    thnx ciauz
    ...Ignorance is bliss...

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.