Thread Tools Display Modes
12-13-07, 01:03 PM   #1
Tatheltek
A Cyclonian
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 43
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)
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Getting a frame/button to fade away


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off