for(i=0; i<2; i++){
if(_root["ground"+i].hitTest(_x, _y, true)){
//code Here
}
}
hi, im making a game and im having some trouble the action script above is for my ground platform movie clips but i keep getting a comlpier error it describes it as "Statement must appear within on/onClipEvent handler" and the problem is in the first row "for(i=0; i<2; i++){" i have little knowledge of action script so i was only able to do little but to no prevale. can anyone out there help me?