View Single Post
09-29-15, 11:40 PM   #13
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Nikita S. Doroshenko View Post
Only problem is that this code don't use fade animation. ... But i think it's possible to add animate to this method too.
Fading in would be easy -- you'd want to set the alpha to 0 in an OnShow script, then play an animation that transitioned the alpha to 1, then set the alpha to 1 in the animation's OnFinished script (otherwise it will revert to the original 0 alpha from before the animation played). Fading out, though, wouldn't be possible with this method.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote