Problem:
Hi,
I would like to create a cartoon-like scenario where two persons have a conversation through speech bubbles.
Instead of creating 20 or more different shapes with individual utterancnes I wonder if it was possible to just have two speech-bubble shapes which shows different utterances, which are stored as strings in two arrays, one for person A and one for B.
For example:
A[0] = “How are you?”
B[0] = “Good! What are you up to?”
A[1] = “Meeting a friend. Joe, do you know him?”
B[1] = “Oh yes, he’s great”
…
A = {“How are you?”, “Meeting a friend. Joe, do you know him?”, …} and so on.
I would then just change the utterances through JS.
For your concern, you can achieve this by using the text(plainText) or html(htmlText) function of the object.
You can clarify your request further so we can better assist you.
For example, would you like to change text following events (clicking an object) or following time in the Timeline pane?
Here is a sample for your request.
You can take a look at the scripts in the Interactivity tab > Slide On Load and Button_6 On Click. conversation.approj (224 KB)