Forum Discussion
Changing text in fixed text box
Hi, I want to mimic a Rise scenario by creating it in Storyline and importing it into a Storyline block in Rise.
Setup: 10 slides (or layers), each with another background image. The text box and the 'next' button must stay in place. So the only things that must change are the text within the text box and the background image.
Should I create separate layers and separate statuses for the text box?
And what about the 'next' button on the baseline layer? I can't seem to add a trigger to it when showing another layer? Thanks for helping out. Dirk
- AndrewHanleyCommunity Member
Morning Dirk!
Well, that's a conundrum :)
Creating a Rise block in Storyline, only to import it back in to Rise?! ...I'm sure there are good reasons ;)
Anyways, from what youve desribed, i would set this up as a slide with layers. Each layer would contain one of your possible background images. And depending how the rest of the screen is laid out, then a simple text variable could control everything.
You could place a REFERENCE to this text variable in to your text field and now you can change it to anything you want.
A trigger will then also SHOW LAYER, which I'm guessing corresponds to whatever is in the text box.
That should do it!
- DirkVercruysseCommunity Member
Thanks Andrew and good afternoon from Belgium ;-)
I'm not too fond of the characters in the Rise scenario blocks and the background is always blurred, so I wanted to create sth similar in SL.
I created a new layer for each new background but I don't know how to use a text variable for the phrases in the text box. Can you please give me an example of how to approach this? (scenario screen attached)
Another question: can I reuse the 'Next' button on the base layer in the other layers? I can only add a trigger to it in the base layer!? So should I add a new button to each layer?
Thanks for helping out Andrew, much appreciated!
Dirk
- AndrewHanleyCommunity Member
Hey Dirk, I could build a quick mock up for you no worries.
However, quick question - is the PNG image you shared the whole slide you want?ie. I can see that each slide/layer has a background image, a text box with a heading and body text, and a NEXT button.
Is that everything? Is it just that the User will click the NEXT button ("Verder"?) to move from 1 slide to the next? In that case you dont need anything like variables or even layers! You can just create flat slides and the Verder button simply moves to the next slide?
Im guessing Im missing somehting though, because its never that easy! ;)
- DirkVercruysseCommunity Member
Yes Andrew, it's that easy 😆
At first I thought of using different slides but I'm always willing to learn sth new and as this use case (slide background changes, text box and next button stay in place, text itself changes) wil come up again I was looking for sth more elegant. Can you build me a quick mock up? I'll drink a Guiness on it! 😎
- AndrewHanleyCommunity Member
Here you go Dirk, try this!
You mentioned that you were going to import to Rise, so I went ahead and switched off the PLAYER totally (this always looks better in Rise I feel)
Im not sure if you want any animations on it, but I put a few subtle ones, and gave you two options for Left and Right aligned text box.
The easiest way to edit it is to first DUPLICATE a slide from the Scenes Panel on the left of your Storyline. Then just RIGHT CLICK the image, and select REPLACE IMAGE.
Finally, add in whatever text heading and description you want, and if necessary resize and reposition the text box and/or Verder button.
Let me know if thats of any use! :)
- AndrewHanleyCommunity Member
Oh.... and this is using a very basic build with just seperate slides, but honestly for what you are wanting thats exactly how I would do it.
If you want something more dynamic and customisable using variables etc, we can look at that too if it helps.
- DirkVercruysseCommunity Member
Great! Thanks Andrew.
Still wondering how I can do this using only 1 slide and separate layers. Might come in handy in the future 😉
I also see that you're using a rectangle shape and adding two text fields and grouping them.
Is this smarter than using a simple text box and just start typing in it?
Cheers!Dirk
- AndrewHanleyCommunity Member
So last thing first :)
For something like this, using two text fields (one for header, one for body) gives you much greater flexibility and freedom to make it look exactly how you want, rather than the sometimes restrictive Text within Shape.
Also, I've now made you a more "snazzy" version. This uses layers and variables, but you can see that its a lot more complicated because there are so many things changing.
However, hopefully it makes sense and it certainly gives you huge flexibility for any content you want, and keeps the project smaller and more compact.
GIve me a shout if I can explain anything more.
Good luck!
- DirkVercruysseCommunity Member
Thanks Andrew.
Will have a look at it tomorrow.
My heartfelt thanks for your overwhelming generosity and kindness.
(chatgpt helped me on this one 😆) - DirkVercruysseCommunity Member
Hey Andrew,
Thanks for the "snazzy" version.
I learned a lot by looking at how you made it.And thanks for the Number 4 surprise 😁
See you later, Dirk