After further investigation i have found that it is not the animations that are causing a problem, it is something to do with the sprites. Could anyone offer any further advice?