Flash interactive customization form?



I’m interested in having people be able to customize hockey shirts. I saw these two sites listed above. I’m wondering how and if anyone knows how to go about something like this. If there is some sort of template that I could use as a basis for something interactive such as this.
any help would be much appreciated!