[statedef your helper]
anim = your white anim
...
[State 1415, fade in]
type = trans
trigger1 = time < T1
trans = addalpha
alpha = X*(time), 256-X*(time)
[State 1415, solid]
type = trans
trigger1 = time = [T1,T2]
trans = addalpha
alpha = 256,0
[State 1415, fade out]
type = trans
trigger1 = time > T2
trans = addalpha
alpha = figure it out yourself ! :P
From time=0 to time=T1, there's the fade in. You must set X in order for the alpha value to go from 0,256 to 256,0 in T1 ticks.
From T1 to T2, you have the solid state
From T2 to whatever, you apply the inverse formula to go back to alpha=0,256