Helliot1
Owner of Empire Online
- Joined
- Jul 26, 2017
- Messages
- 315
- Solutions
- 1
- Reaction score
- 58
I'm creating a button, and how I don't have so much knowledge in OTC, I need some help.
This is my button, the question is when I click on the button i get the $pressed image, but after being clicked, I wanted it to go back to a certain image-clip. I tested $unpressed and others "variables" but it didn't works. The button only go back to other image when I click in other button.
This is my button, the question is when I click on the button i get the $pressed image, but after being clicked, I wanted it to go back to a certain image-clip. I tested $unpressed and others "variables" but it didn't works. The button only go back to other image when I click in other button.
CSS:
LoginButton < UIButton
font: verdana-11px-antialised
color: #dfdfdfff
size: 48 22
text-offset: 0 0
image-source: /images/ui/loginbutton
image-color: #dfdfdf
image-clip: 0 0 22 24
image-border: 3
padding: 5 10 5 10
opacity: 1.0
$pressed:
image-clip: 0 24 22 24