PaulW
11-18-2003, 09:19 AM
Hi all. I am trying to perfect a fade effect. So far I have the following:
On show:
opacity = 100;
Page.StartTimer(1);
On Timer:
opacity = opacity - 2;
Image.SetOpacity("Photo", 100 - opacity);
y = 0
if (opacity < y) then
Page.Jump("Menu")
end
I am very new to the use of scripting so I took some of the above from an example that Corey posted. I have changed it a bit because I am trying to get a very smooth fade in then a page jump when the image is fully visible.
The problem I am finding is that I cannot get the image to fade in quickly and smoothly. When I try to increase the speed that the picture apears, I end up with a poor stepped fade. It is not smooth.
Does anyone know of a better way that will produce a smooth fade?
Maybe I could try using two of the same image with different opacity settings.
Any help or suggestions appreciated.
On show:
opacity = 100;
Page.StartTimer(1);
On Timer:
opacity = opacity - 2;
Image.SetOpacity("Photo", 100 - opacity);
y = 0
if (opacity < y) then
Page.Jump("Menu")
end
I am very new to the use of scripting so I took some of the above from an example that Corey posted. I have changed it a bit because I am trying to get a very smooth fade in then a page jump when the image is fully visible.
The problem I am finding is that I cannot get the image to fade in quickly and smoothly. When I try to increase the speed that the picture apears, I end up with a poor stepped fade. It is not smooth.
Does anyone know of a better way that will produce a smooth fade?
Maybe I could try using two of the same image with different opacity settings.
Any help or suggestions appreciated.