Forum Discussion
Flashcard Storyline
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
- OwenCourt-feaffCommunity Member
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 - CoachingTSACHUVCommunity Member
Thank you Owen!
Your file is very helpfull :)
Evelyne
- JudyNolletSuper Hero
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.
- OwenCourt-feaffCommunity Member
Wow! Thanks Judy.
I'm always finding a longer, more complicated work around to something that's built in. Can't believe I forgot this one!
I'll be using this from now on!
- CoachingTSACHUVCommunity Member
Thank you Judy! I 'll try your new way :)
- CoachingTSACHUVCommunity Member
Hi,
After trying, I can't add animations to the cards with the way of states (see judy's response) ... Is it possible or not ? and if it, how I can add this ?
Thanks in advance :)
- JudyNolletSuper Hero
David Anderson did a webinar about how to animate states in buttons. The same method would work with states in any object. You can find the webinar here:
https://training.articulate.com/webinars/create-animated-buttons-with-storyline-360
- CoachingTSACHUVCommunity Member
Thank you Judy for the link!