here is my code

Code:
if (Key.isDown(Key.LEFT)) {
	gotoAndPlay(1);}
	
if (Key.isDown(Key.RIGHT)) {
	gotoAndPlay(6);}
why is that afta playing about 10 secs of my game, flash player and flash MX both say there is action scipt in this movie that is cause flash to run slowly and says it might make ma computer unresponcive

Why?

the code is used for playing animations for my hero at frame 5 i put gotoAndPlay(1); so it loops that section of animation should i be doing things differnent??