Fixed unknown type error for Flash target