ok, i have a burger, and a fatman, and a separate mouth. on frame two of the fatman movie he gets fatter, i can drag the burger into the fatmans 'mouth'from the main scene and the burger disappears and the man gets fatter.(goes to frame 2 of fatman)
i also have a score variable declared in frame one actions.. score = 250
ActionScript for my button:
on (press) {
startDrag(this, true);
}
on (release) {
score -= 10;
tellTarget ("_root.burger") {
_visible = false;
}
stopDrag();
if (this._droptarget == "/mouth") {
_root.fatman.gotoAndStop(2);
}
}
i want score to go down by 10 when the burger is dropped but the score does not change. why not?
i also have a score variable declared in frame one actions.. score = 250
ActionScript for my button:
on (press) {
startDrag(this, true);
}
on (release) {
score -= 10;
tellTarget ("_root.burger") {
_visible = false;
}
stopDrag();
if (this._droptarget == "/mouth") {
_root.fatman.gotoAndStop(2);
}
}
i want score to go down by 10 when the burger is dropped but the score does not change. why not?