hello,
how can i modify the following script so the effect works upon image load instead of rollover?? (found the tut here
onClipEvent(load)
{
dir = 0;
speed = 6;
original._alpha = 0
this.onRollOver = function()
{
dir = 1;
}
this.onRollOut = function()
{
dir = -1;
}
useHandCursor = false;
}
onClipEvent(enterFrame)
{
temp = original._alpha + speed*dir;
original._alpha = Math.min(100,Math.max(temp,0));
}
it should obvious, but i’ve tried everything i can think of and it won’t work…
thanks for any help,
s.