format proxy code, allow to change swf on the fly