I just tried giving you a detailed explanation but my computer just dumped it all!
Basically you want to try to wash the parts in a warm, soapy water - mild dish soap will do. After the parts have dried, try the paint again. Also, using a primer before painting will help the paint adhere better. Regardless of whether it's resin or plastic, the parts need to be treated before painting. If you handle the plastic after washing, wipe it down with some Isopropyl Alcohol, let dry then paint.
I hope this helps. Anybody else with ideas?