Hi Helle,

Have you tried turning you lines into shapes before creating the stroke?
It is possible to have several colors.

One important aspect if you want to keep vectors is that your curves has to remain simple, if you have stretched segments between points it wond work.
For example if you have tweaked the shape a lot with the warp tool it might be a good idea too simplify paths.

HTH

Marc