Recently, preilly85 asked about "spot colors" support in AlivePDF in the forum, which can be required when printing professional PDF's.
As this feature is easy to implement, I have just added it in the latest SVN revision of AlivePDF.
Here is a quick explanation of the API, preilly85, this one is for you :
var p:PDF = new PDF();
// add a page
// create a SpotColor object with a name and specific CMYKColor
var sc:SpotColor = new SpotColor ("PANTONE 280 CV", new CMYKColor ( 90, 20, 30, 10 ) );
// pass it to the lineStyle, textStyle or beginFill methods
p.lineStyle( sc );
// draw the spot color
p.drawRect( new Rectangle ( 10, 10, 30, 30 ) );
This will give the following result :
And if you check your output preview in Acrobat, you'll get the following :