Switch to a filter type enum for SWFLite