3d in flash Square buttons and so on

Hello!

I want a square to rotate the x-way(width) after mouse but not y. When rollover a square side it will change fillcolor and some AS so it can be used as a meny, and it will rotate faster if im near a side, stop if i am in middle with the mouse. I cant get the tutorial working as i want (that one with square 3d in flash). I am totally new at drawing API or was it ATI… dont know.

All help would be great!!
And i think it is alot of code :frowning: (sorry for that)
I hope you get what im trying to say,

abraxas