errm…currently i do a game for my sch project…is abt a char that consently moving forward…when it touches a animation, the scale for x and y will change…but i need to do a timer for making to change back to the orginal size for a few seconds or a while…i hadve try the GetTimer() and getinterval and getseconds…but none of them can restart or i should say return back to 0 again…it will change keep on counting up when i use the Trace method…and i dunno quite understand the clearinterval…hope u all can help me out
var start;
start = setinterval(collideElect,100000);
if (start ==300)
{
char._xscale = 100;
char._yscale = 100;
}
clearinterval(start);
after the start reach 300…it won’t return back to 0 or what…so i wan to know whether got any solution that can make the setinterval return to 0 or using clearinterval to restart the setinterval…ps…i have try quite num of methods…so i need help on this