G
Gato
Guest
Sitze jetzt schon über ne Stunde ohne weiterzukommen und dachte ich frag lieber mal die Profies.
Wird wohl ne Kleinigkeit sein aber ich komm nicht drauf ...
Bei Click auf ne Schaltfläche soll der mc an einer bestimmten Stelle anlaufen je nachdem wo er ist. gleichzeitig wird noch n anderer mc rotiert. Flash mx sagt das keine Fehler im Script sind. Die Funktion funktioniert jedoch nicht bis auf die Rotation. Kann mir einer sagen wo der Fehler sitzt?
on (press) {
function not_set_yet() {
if (_parent.slide1._currentframe == "1") {
_parent.slide1.gotoAndPlay("2");
} else {
_parent.slide1.gotoAndPlay("113");
}
}
}
on (release) {
rot = pos[0];
y = ypos[0];
}
Wird wohl ne Kleinigkeit sein aber ich komm nicht drauf ...
Bei Click auf ne Schaltfläche soll der mc an einer bestimmten Stelle anlaufen je nachdem wo er ist. gleichzeitig wird noch n anderer mc rotiert. Flash mx sagt das keine Fehler im Script sind. Die Funktion funktioniert jedoch nicht bis auf die Rotation. Kann mir einer sagen wo der Fehler sitzt?
on (press) {
function not_set_yet() {
if (_parent.slide1._currentframe == "1") {
_parent.slide1.gotoAndPlay("2");
} else {
_parent.slide1.gotoAndPlay("113");
}
}
}
on (release) {
rot = pos[0];
y = ypos[0];
}