ti spiego:
filmato principale:
onClipEvent (keyDown) {
if (Key.isDown(Key.RIGHT)) {
_root.butt = _root.butt+1;
_root.butt_app = 5;
_root.gotoScene();
} else if (Key.isDown(Key.LEFT)) {
_root.butt = _root.butt_app;
_root.butt_app = 5;
_root.gotoScene();
}
}
filmato livello 2:
onClipEvent (keyDown) {
if (Key.isDown(Key.RIGHT)) {
_root.butt = 2;
_root.gotoScene();
} else if (Key.isDown(Key.LEFT)) {
_root.butt = 1;
_root.gotoScene();
}
}
(_root.gotoscene() sono 2 funzioni diverse chiamate con lo stesso nome), il problema e' che se sul filmato level 2 uso key.right mi si incrementa _root.butt = _root.butt+1; del filmato principale...

Rispondi quotando