[SIZE=3][FONT=arial]hello you all [/FONT]
[FONT=arial]I’m trying to make a game that there is a target (target_mc) and she randomly [/FONT]
[FONT=arial]change the position on the stage. [/FONT]
[FONT=arial]the target (MC) will appear for 2 sec’ and than randomly appear on the stage with no delay in a new place.
[/FONT][/SIZE][FONT=arial][SIZE=3]the most of it i have done but for now the time that the target is shown and disappear is the same.
can you help me please ???
thank you
this is the code i’m using now:
[/SIZE][/FONT]
blinkInterval = 2000;
blinkID = setInterval(jump,blinkInterval);
function jump() {
if(target_mc._visible) {
target_mc._visible = false;
}
else {
target_mc._x=random(200);
target_mc._y=random(200);
target_mc._visible = true;
}
}
[FONT=arial][SIZE=3]
[/SIZE][/FONT]