paopei
July 24th, 2002, 02:52 AM
:ninja: i have problem about hitTest method. i create a game and i wrote script as follow :
if(mymovieclip, hitTest(target)){
this.gotoAndStop(2);
//2 is frame that execute certain action or changing
}
but that script won't work. but in this code (action of certain button) :
on(release){
mymovieclip.gotoAndStop(2);
}
and that works! is there somebody who can explain those problems.
thanks=)
if(mymovieclip, hitTest(target)){
this.gotoAndStop(2);
//2 is frame that execute certain action or changing
}
but that script won't work. but in this code (action of certain button) :
on(release){
mymovieclip.gotoAndStop(2);
}
and that works! is there somebody who can explain those problems.
thanks=)