Scripting A Candle Flame

Hey, new to the forums, but excited about helping and growing this nice flash community.

I am looking to produce a realistic candle flame. I can draw the flame in flash or photoshop, but need a little help with scripting the movement. I have seen a few example duplicating and shrinking the circle gradient, but that’s not the route I want to go.

I want to randomly ‘move’ the flame MC, so it looks realistic. I’m wondering if there is some way to to send slow ripples through the graphic using sin waves or something? Just an idea…I am still brainstorming the best way to go about it, and would appreciate and enjoy some other ideas in the mix!

Many Thanks,
-Stirman