Wieso klapt dieser script nicht? es funktioniert nur bei 1 bei allen anderen nicht.
ActionScript:
onClipEvent (mouseDown) {
if (_root.turm._currentframe == 1) {
_root.turm.f1.gotoAndPlay(2);
}
if (_root.turm._currentframe == 2) {
_root.turm.f2.gotoAndPlay(2);
}
if (_root.turm._currentframe == 3) {
_root.turm.f3.gotoAndPlay(2);
}
if (_root.turm._currentframe == 4) {
_root.turm.f4.gotoAndPlay(2);
}
if (_root.turm._currentframe == 5) {
_root.turm.f5.gotoAndPlay(2);
}
if (_root.turm._currentframe == 6) {
_root.turm.f6.gotoAndPlay(2);
}
if (_root.turm._currentframe == 7) {
_root.turm.f7.gotoAndPlay(2);
}
if (_root.turm._currentframe == 8) {
_root.turm.f8.gotoAndPlay(2);
}
if (_root.turm._currentframe == 9) {
_root.turm.f9.gotoAndPlay(2);
}
if (_root.turm._currentframe == 10) {
_root.turm.f10.gotoAndPlay(2);
}
if (_root.turm._currentframe == 11) {
_root.turm.f11.gotoAndPlay(2);
}
}