Floorplan in as3

hello guys,
I want to create something in which there will be one rectangle on stage and two options for the user to select the sizes 1st option will be predefined sizes in which we will predefine the sizes of area like 455664,455680,100500 etc if the user selects the specific area from the combo box like 455664 then the rectangle will re-size to 455664
and 2nd option is going be the 2 input fields in which user ill input the values like in the first field he put 600 and in 2nd input field he puts 444 then the rectangle will re-size to 600
444.

Please help me out i have to submit my assignment on 15th June 2012