Flashcard Storyline

Jun 28, 2021

Hi, 

I am trying to make flashcards on storyline.

There are squares with texte that I would like to transform to pictures when the learner cliks on them, and vice versa. 

So I put a trigger to change state : normal (texte) to picture when it cliks on it. That's it ok.

But I would like that when it cliks on picture it returns on texte. I tried to put a trigger : change state to "normal" (=texte) when it cliks on object if the state of object is "picture"... but it dosen't work... when i publish to try and I click on object text, nothing passed..

Someone can helps me  ? ... and sorry for my english :) 

Thanks in advance!

Evelyne 

 

 

 

 

8 Replies
Owen Court

Hi Evelyne !

One easy way to fix this is to use a True/False Variable.

Here is a basic run down of the setup:

  • Flashcard with 2 states (A&B)
  • True/False Variable (Set to False by default)

Triggers

  • Change state to B when variable changes. IF Variable = False
  • Change state to A(Normal) when variable changes. IF Variable = True
  • Adjust Variable (Toggle A/B) when user clicks Flashcard.

I've attached a sample version for you if you want to look at the functionality in more depth, or feel free to use the project.

Hope this helps!
Owen

 

Judy Nollet

Another option if you simply want a "card" to always switch between states: 

  • Put the text (or whatever you want for the initial appearance) in the Normal state.
  • Add the Selected state, and put the picture (or whatever you want for the alternate appearance) in that state.

That's it! The Normal and Selected states will toggle back and forth when clicked, because that functionality is built in.