Would this be difficult?

I am just beginning to learn flash and would like to make an application for displaying houses.

I would like to have a drop down menu with several different option: Let’s say #of bedrooms, and #of bathrooms.

When the user clicks on 2 bedrooms, then all the 2 bedroom houses come up. And this would continue, etc…

This is what i am thinking and since i am new to AS3, perhaps someone with more experience could point me in the right direction.

Create Each listing as either a jpg (in photoshop), or create each listing in flash. Then somehow tag that image or movieclip, or whatever it is, with several attributes, i.e. 2 bed 2 bath. Then when those parameters are met, that house comes up.

Maybe this would be easily updated through XML?

Would this be difficult?