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?
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...
mm allora per me sbagli qui
ma comunque in MX andrebbe megliocodice:_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(); } }
codice:_root.onEnterFrame = function(){ var topo = _root._xmouse if (topo > 0){ _cosa(_root??)nextFrame() } .....
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...