HitTest Trouble!AHHHHHHH

Im making a frogger like game and I move the frog with the arrows. I need a code that would work so that if I ran into a truck on the road it would goToAndPlay another frame.