I would like to create a square (in Flash MX), that rotates on it's X and Y axis when the mouse rolls over it.
Specifically, I would like to have a single colour square (blue for example) and when the mouse touches the left or right side of the square it rotates horizontally, and if it touches the top or bottom, it rotates vertically. I would also like the other side of the square to be a different colour.
I'm sure this is possible, but I have no idea how to do it! Any help would be greatly appriciated.