08.08.14, 15:24
Sorry cant seem to find the solution to this on my own, I imagine it's pretty simple, but how do I go about setting fillColor=0?
I've tried 0, null, 'none' etc. but nothing seems to work?
Setting the fillColor property to null should do it..
Example of removing the fill color of the first selected path:
var paths = document.getItems({ type: Path, selected: true }); if (paths.length > 0) { paths[0].fillColor = null; }
Please post your code if you still can't get it to work, you're probably making a mistake somewhere else.