The user will select the repayment term from a combo box. Drag the ComboBox
component onto the stage from the Flash UI components. I gave the instance the
name selRepayments.
In the Properties area for the ComboBox, I entered the following:
Labels: -- select term --, weekly, fortnightly,
monthly
Values: blank, 52, 26, 12
Row count: 4
Change handler: setRepaymentTerm
I added a PushButton component from the Flash UI components and entered
the label Calculate. I set the Click Handler to CalculateRepayment.
This function will handle the validation and display the result of the
calculation.