Fabric Swatch selector

Wondering how hard it would be to build a Flash app that works like Timbuk2 build your own bag

I have some experience with Flash, I know that I don’t want it to use the color picker, I’m looking for something a bit closer to Scene7 dynamic imaging.

Any input would be helpful.