Ah thanks so much. I was able to get it working. I meant to put gotoAndStop(i); not just gotoAndStop;.