Sliding interface help

I having major problems in my major project for uni. Never used actionscript and i’m trying to create a interface thats slides in and expands simular effect to that in the Habitat site

i want to be able to change the size, shape, color of a “box” when a button is click

any help or guidence of what i should be doing?