The following peice of code sometimes generates a 'value out of range,scale'
error. when it does generate this code it will continue to do so for a long
time. This error will never occur if i execute the code from the message
window. If I do enough fiddling around the error will eventually disappear for
no apparent reason. If I then put things back the way they were, or not, the
error will eventually come back again. It makes no sense, I've got rid of
variables and done many tests like running the code on different shaders or
executing it from a button(which seems to work).. Director seems to be getting
confused somehow. Has anyone any suggestions...have you come across anything
like this.

member("3D World").shader("wallsz-clone2").textureTransform.scale=vector(2,1,1)