Drawing in AS

Hey just wondering how you draw squares for example in AS (if at all possible) and using shape tweens in AS (again if possible).

ps. i asked this earlier on another board but i reposted it here because i realize i posted it on the wrong board