Background info on var and with: Declared vars will be checked BEFORE instance variables, and with() does not break var scope.
In other words, just keep the var and access it normally within the with (e.g. xoffset, not other.xoffset)