Fixed swig AS3 issue with char to string conversion (project needs int for bitflags)