Page 1 of 1

change state of switch button after clicking it

Posted: Thu Apr 16, 2015 1:12 am
by ControlMotion
Hi guys,

I have a button with an image of a switch (state - off) inside. The user clicks it, specific Bit is changing from 0 -> 1, and the image in the button should be "replaced" with a switch with state on, and vice versa.

How can you flip the switch image in the button after performing a click? :?: I don't want to clone the same page with a switch on.

Thanks for your help!

Cheers, ControlMotion

Re: change state of switch button after clicking it

Posted: Thu Apr 16, 2015 2:07 am
by ControlMotion
Did this quite easy.

In Actions for the tag shoud be set Toggle Tag.
Multi picture has to be selected
In the Picture name menu select the both pictures (for the switch on and off).

Done ;) .