Comet Trail Particle Effect

I would like to create a shooting star trail. This would be some form of particle effect and I was wondering if anyone would have a code or source file I could use as a reference. Ideally I want something I can place in a movie clip and then place that on a guide so the shooting star’s trail can be directed and controlled, say flying up to the sky and going round in a circle before vanishing. Any help appreciated.