//i cant unhighlight the images
//heres my coding...
var
action = null
obj
var
active
activename
regicon
highlighticon
hovericon
obj
buttons
icon = 'Buttons.dmi'
attack
icon_state = "attack"
highlighticon = "attack highlight"
hovericon = "attack hover"
regicon = "attack"
guard
icon_state = "guard"
highlighticon = "guard highlight"
hovericon = "guard hover"
regicon = "guard"
range
icon_state = "range"
highlighticon = "range highlight"
hovericon = "range hover"
regicon = "range"
magic
icon_state = "magic"
highlighticon = "magic highlight"
hovericon = "magic hover"
regicon = "magic"
flee
icon_state = "flee"
highlighticon = "flee highlight"
hovericon = "flee hover"
regicon = "flee"
MouseEntered()
if(active == src)
icon_state = highlighticon
else
icon_state = hovericon
MouseExited()
if(active == src)
icon_state = highlighticon
else
icon_state = regicon
MouseDown()
if(active == src)
icon_state = regicon
active = null
if(active == null)
icon_state = high
ID:148048
Jul 28 2003, 5:15 pm
|
|
after hours of trial and error, I did it!
fixed!!!!!!!!!!
thanks for nothing forums ^_^!