Single image rotation with AS

Good day flashers i want to animate a rotating image that loops using AS how is this done if possible please post me the full code that can rotate a single flat 2D image like a square, or a donnut shaped circle

i can do that by motion tweening but i am not satisfied when it loops it is not smooth i am very new to AS so please any good understanding help will do

thanks peoples