document.swapStrokeAndFill() Availability Flash 8. Usage document.swapStrokeAndFill() Parameters None. Returns Nothing. Description Method; swaps the Stroke and Fill colors. Example The following example swaps the Stroke and Fill colors in the current document: fl.getDocumentDOM().swapStrokeAndFill();