To change the transparency of an Image object named myImage to 50% over 1 second, use the following syntax:
myImage.SetTransparency(50,1.0)