Hallo
du hast die Verschachtelung nicht beachtet.
PHP-Code:
on (press) {
startDrag(this, true);
}
on (release) {
stopDrag();
if (this.hitTest(this._parent.Europa)) {
this._parent.gotoAndStop(2);
}
}
Die Abfrage greift aber erst, wenn du die Maustaste losgelassen hast.
Willst du die eine ständige Überprüfung musst du dieses Script anwenden
PHP-Code:
on (press) {
startDrag(this, true);
}
on (release) {
stopDrag();
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.Europa)) {
this._parent.gotoAndStop(2);
}
}