Color fill png dynamically?


Didn’t now where to put this, but AS3 looked like the best option.

So I’m developping a product configurator in Flex, and at a certain point the end -user should be able to “drag” a color to the product.
The product outlines are all dynamic loaded png’s.

Now my question is how can I color fill these png?
With an underlaying sprite that i fill with a color is an option. But i’ve heard it’s possible to use the png outlines as vectors, is it (maybe CS3 only)?