hi, stefan-maverick,
willkommen im forum
Zitat:
Geschrieben von Stefan-Maverick Ich hab das Tutorial aus oben beschriebenem Buch mal probiert....
Ich hoffe mal, ihr könnt mir da ein bißchen weiterhelfen. |
ich fürchte: nein
die informationen reichen einfach nicht aus. mit dem code:
ActionScript:
onClipEvent (mouseDown) {
xpos = this._x;
ypos = this._y;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.startDrag(true, 0, 0, 760, 630);
}
}
onClipEvent (mouseUp) {
this.stopDrag();
_root.Zaehler = _root.Zaehler + (1/70);
if (eval(this._droptarget) == _root[this._name+"Ziel"]) {
this._x = _root[this._name+"Ziel"]._x;
this._y = _root[this._name+"Ziel"]._y;
_root.puzzleSound.start();
}
else {
this._x = xpos;
this._y = ypos;
}
}
wird zwar schon ziehen und ablegen geprüft, wie das aber genauer aussiht, steht nicht drin. insbesondere:
Zitat:
|
Die Abfrage wird für alle Puzzleteile parallel ausgeführt, was bei mir keine vernünftigen Auswertungen zuläßt.
|
kann man damit, glaub' ich, nicht beurteilen. speck deine datei mal ab und zeig sie hier vor!