Powersclan
09-14-2009, 12:37 AM
Hi im trying to do a hittest saying if the player hits it then if the inv1_mc is frame 1 Door1_mc goes to and stops on frame 2 but when it touches nothing happens its code is:
if (player_mc, hitTest(door1_mc)) {
if (inv1_mc._currentframe==1){
door1_mc.gotoAndStop(2)
}
}
Please help me to make the code work!:confused:
if (player_mc, hitTest(door1_mc)) {
if (inv1_mc._currentframe==1){
door1_mc.gotoAndStop(2)
}
}
Please help me to make the code work!:confused: