Exactly what the title says is there away to limit what frames get sequenced out of Flash when making an animated .GIF? With a .SWF I simply write a stop(); action on the last frame, but the .GIF doesn't care about AS. There is nothing in publish settings for setting the range in a .GIF.
No range support. You'll need to trim it with another program, especially one that supports GIF animations directives like stop and loop X times, like fireworks, etc.
I'd be a real hassle but you can convert motion tweens to frame by frame animations (right click on a motion tween, the option is there). You can then trim off frames on either side. This is is a pretty messy solution however.
You're welcome and good luck!
BTW, you can always request the feature if it's very important to you: