via eLB: How to Harness the Power of “Change Contents” in Lectora
One of the most useful and – I believe – underutilized Lectora features is the “Change Contents” action. It’s ridiculous the amount of things you can do with this action – change the text in a text box, swap out an image… there’s all sorts of magic that can be done. It basically swaps out one item for another of the same type in place on the screen; one literally becomes the other from the learner perspective. Use it to update the contents of a text box with a variable, create custom buttons with an unlimited number of states, or simply change out your main image for another.
I’ve had many people ask me, “How did you do that?! That’s amazing!” in regards to my Lectora development work. The most common answer I give, “Change contents.” The response I usually get is “What’s that?”. Let me explain.
What Does it Do?
The short version is this action allows you to change the contents of a “container” or object based on it’s type.
Why Would You Use it?
You might want to fill or alter the contents of a feedback text box based on whether the question answered was correct or incorrect. But you can use it on more than just text boxes; it works on images, videos, and GIFs, too. And since it’s a type of action, it can be linked to a conditional for even more control and functionlaity.