I am not new to flash but very new to AS. I received a banner advertisement recently for my company with a burning flame in the background. Our site limits the animation to only 15 seconds, but the flame keeps moving. Since I am not familiar with AS and don't have the time to send back to the original designer I was looking to see if anyone on here could help out. The code is on 3 different frames on one layer and I need it to stop after 15 seconds or after 250 frames.
Frame 1: var i=1, n=20;