fix for pure flash target

useful for testing AIR mobile apps (without OpenFL)