Getting a frame/button to fade away
Is it possible to use SetTimeVisable for a frame or button the same way you can use it for a message frame?
I have some messages that show on screen when certain conditions are met...so i use messageFrame:AddMessage() to display the message and messageFrame:SetTimeVisable() to make it fade after 2 seconds. I'd like to also display an icon and have it fade away when the message does.
I dont think I can use Frame:Show and Frame:Hide because for some of the events theres no "end" message in the combat log to trigger the frame to hide (ie. "You gain 1 extra attack through sword specialization" does not have a "fades from you" message)
|