View Single Post
10-05-08, 08:18 AM   #28
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
Join Date: May 2006
Posts: 281
One question, i would like to have my experience bar to show but only when i mouseover it.

I've tried something like the code below but obviously it doesn't work, i know it's wrong but that's all i could come up with using wowwiki and unfortunately i couldn't find any better information on how to do this.


Code:
local OnEnter = function(self)
 self.Experience_OnEnter(self)
 self.Experience:Show()
end

local OnLeave = function(self)
 self.Experience_OnLeave(self)
 self.Experience:Hide()
end
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }