Setting variables using input text boxes

Setting variables. Have a look at the file. Current height and width are both set at 200. I dont think i got the scripting right, or it may be in the wrong place. Thanks in advance.