Im having problems with flash working some math for me.
Im simply trying to get it to resize a box by useing setting passed from the xml. So im passing in a width which is called “hw” for holder width and “bw” for boarder width. so i have the holder width at 720 and the boarder width 20. im trying to add both these together to get the background to add 20 pixels width to it so it looks like this.
centre.grey._width = hw+bw;
no i have traced this and instead of getting “740” as you expect i get “72010” which is massive.
the funny thing is if i minus it i get “700” why wont it add it though? i have set “hw” and “bw” as number variables but still doesnt work.
If anyone can help be greatly appretiated. 

