Object State Change Problem

Problem: I have some buttons where the text is set using javascript, the problem is when the state is changed (hover or click) the text reverts back to the original text.

ActivePresenter version: 9.3.0

OS: Win 11

Notes:

Hi,

Please see the sample below for reference. When you change text with JavaScript at runtime, it only updates the text in the current state. The simplest solution is to place a shape on top and remove the button’s text.

buttonState.approj (284 KB)

Hope this helps.

Regards,

1 Like

Thanks, I’ll give it a try.

For anyone else who wants to do this, the textbox over button does sort of work but the button can’t be accessed when the mouse if over the text itself so it wasn’t a reliable solution.

I eventually realised I could achieve what I wanted by executing the javascript on rollover and rollout of the buttons.