Mmmmmmmmmmmmmm
New member
Here's my code so far:
onMouseMove = function () {
updateAfterEvent();
}
redCircle.onPress = function() {
startDrag(redCircle, true, 100, 75, 450, 325);
}
redCircle.onRelease = function() {
this.stopDrag();
checkTarget(this);
}
redCircle.onReleaseOutside = function() {
this.stopDrag();
checkTarget(this);
}
redCircle.onRelease = redCircle.onReleaseOutside = function() {
stopDrag();
if (redCircle.hitTest(greyCircle))
{
feedback.text= feedback.text+1;
gotoAndPlay("anima");
}
}
blueCircle.onPress = function() {
startDrag(blueCircle, true, 100, 75, 450, 325);
}
blueCircle.onRelease = function() {
this.stopDrag();
checkTarget(this);
}
blueCircle.onReleaseOutside = function() {
this.stopDrag();
checkTarget(this);
}
blueCircle.onRelease = blueCircle.onReleaseOutside = function() {
stopDrag();
if (blueCircle.hitTest(greyCircle))
{
feedback.text= feedback.text + 1;
gotoAndPlay("anima2");
}
}
ok so there's a two circle a redcirlce and bluecircle, if i drop 1 circle on greycircle the counter will be 1 and if i drop another circle on greycircle the counter will be 2, the feedback.text is my counter name. Its just display 1 and two 11 if 2 circle is on greyscale.. I'll pick the best answer so please help me.
onMouseMove = function () {
updateAfterEvent();
}
redCircle.onPress = function() {
startDrag(redCircle, true, 100, 75, 450, 325);
}
redCircle.onRelease = function() {
this.stopDrag();
checkTarget(this);
}
redCircle.onReleaseOutside = function() {
this.stopDrag();
checkTarget(this);
}
redCircle.onRelease = redCircle.onReleaseOutside = function() {
stopDrag();
if (redCircle.hitTest(greyCircle))
{
feedback.text= feedback.text+1;
gotoAndPlay("anima");
}
}
blueCircle.onPress = function() {
startDrag(blueCircle, true, 100, 75, 450, 325);
}
blueCircle.onRelease = function() {
this.stopDrag();
checkTarget(this);
}
blueCircle.onReleaseOutside = function() {
this.stopDrag();
checkTarget(this);
}
blueCircle.onRelease = blueCircle.onReleaseOutside = function() {
stopDrag();
if (blueCircle.hitTest(greyCircle))
{
feedback.text= feedback.text + 1;
gotoAndPlay("anima2");
}
}
ok so there's a two circle a redcirlce and bluecircle, if i drop 1 circle on greycircle the counter will be 1 and if i drop another circle on greycircle the counter will be 2, the feedback.text is my counter name. Its just display 1 and two 11 if 2 circle is on greyscale.. I'll pick the best answer so please help me.