Help!: actionscript for rotating a cube

Hi Kirupa/ kiupians,

I’m new here. Writing in knowing that my inquiries will be answered.

Question: Is there an actionscript I can insert to create the animation/movement of a cube flipping/rotating vertically?

I hope you can help me by providing a simple solution.

Many thanks!

Fion