Anyone want to walk me through how the fuck they did it, or give me some source code of theirs?

Lets say I was looking through the Towns 2 source and wanted to remove the timer on "Kneel" or something like that. I could just change the ActionScript so that instead of this:

Code:
case this.ctr:
                {
                    if (this.canKneel == true)
                    {
                        this.avatarController.doAction(AvatarConstants.ACTION_KNEEL);
                    }
                    this.canKneel = false;
                    this.disableTimer.start();
                    break;
                }
I have this:

Code:
case this.ctr:
                {
                    if (this.canKneel == true)
                    {
                        this.avatarController.doAction(AvatarConstants.ACTION_KNEEL);
                    }
                    this.canKneel = true;
                    break;
                }
But my question is: How would I then use this swf file, and still have it play on Gaia's servers? Is this how you would even make a custom client?

Sorry for all of the questions, I'm just confused as to how to go about this.

Thanks.