I saw on "My Cat from ****" a trick to use a laser pointer to distract the kitty away from the door. Before I even brought Martin home, I made sure I had one to keep him away from the door when I left. I'm on the 3rd floor of a big apartment building, and I figured he'd be faster than me. It works great! Even though he's already caught on to the fact that I'm leaving and tries to resist that little red dot he just can't seem to help but go after it.
Good luck!
Good luck!