add Flash support