Sorry, isn't slide show, in my case the thumbnails are all viewed simultaneously.
With text labels I haven't problems, if I try this...
...in document.compositionReady does not show the new text, but I put the same code in click event of a button element and it's work fine.
But when I try this...
...for change image in click event of button, but not work.
The problem was exactly that. Thank you!