Flash Challenge #1 - A rectanglePART IDraw a rectangle with dimentions 200px wide and 100px high. The rectangle should be positioned at coordinates x=200, y=200.
PART IIDraw 3 rectangles with different colour outlines and dimentions 100px by 50px, 80px by 25px and 60px by 120px. They can be positioned anywhere on the screen.
PART IIIDraw a rectangle anywhere on the stage, with dimentions 200px by 100px. Eash side of the rectangle must react to mouse interaction (like a button) with the following styles for states: on up #000099 2px, on over #990000 2px, on down #009900 3px.
PART IVDraw a rectangle anywhere on the stage, with dimentions 200px by 100px. Eash side of the rectangle must react to mouse interaction (like a button) with the following styles for states: on up #000099 2px, on over #990000 2px, on down #009900 3px. Each side must have a label with current dimentions displayed (use library object if neccessary.. extra cred if you don't) and must be positioned in the middle of the line and just outside the rectangle. When pressed and dragged, the side should move and follow the mouse along one axis. The rest of the rectangle must resize. Dimention's labels and their position must update.
PART V - Holy Shit
Draw a rectangle centered on the stage, with dimentions 200px by 100px. Eash side of the rectangle must react to mouse interaction (like a button) with the following styles for states: on up #000099 2px, on over #990000 2px, on down #009900 3px. Each side must have a label with current dimentions displayed and must be positioned in the middle of the line and just outside the rectangle. When pressed and dragged, the side should move and follow the mouse along one axis. The rest of the rectangle must resize. Include 4 corner points (8px diameter dots) which have mouse interaction. When dot pressed and dragged, the rectangle should rotate corresponding to mouse movement and dots must remain positioned on the rectangle's corners. Dimention's labels and their position must update, but must not rotate.
Discussion and solutions here