moved some functions to ../lib/rfxswf.h.