Swapping States...
Dec 08, 2014
I have two very short video clips. One shows an index card flipping from front to back, the other from back to front. I want to switch between those two states when the user clicks the object, to simulate flipping it over and flipping it back. The only complication is that it starts off initially in a third (Normal) state which is a still image.
But no configuration of triggers that I have tried will make that work. I tried triggers that say essentially, "Change this to State A if it is in State B, Change this to State B if it is in State A," but this does not seem to work. The first click works, but then it just re-plays the same state over and over.
I even tried setting a variable based on the current state and then switching states based on that. Still doesn't work.
Basically all I am trying to do is toggle back and forth between two states when the object is clicked. This can't be as difficult as it seems to me (or can it?). Can anyone set me straight on this?
11 Replies
Could you provide a one-slide .story file that included the video clips? It would make it easier to try and figure his out.
OK, so here it is. It sounds confusing in English, but it isn't that complicated.
It starts in the Normal state, which is a still image.
Trigger says play "Front to Back" if the state is not equal to Front to Back (So this should play the front flip if the current state is either Normal or Back to Front)
Second trigger says play "Back to Front" if the state is currently Front to Back. (This should play the back to front animation if we are looking at the front to back state.)
One (I, anyway) would think this would lead to a situation in which the front-to-back animation would play if you are looking at the front of the card, and back-to-front animation will play if you are looking at the back of the card. Instead, every click plays the back-to-front animation, no matter what.
I even took the Normal state out of the mix and just started with Back to Front and made the trigger say "if it is one state, then play the other." Still, only "Back to Front" plays when clicked.
I know I must be missing something painfully obvious. But I haven't tried this before, so...
Have a look at the attached and see if that works for you. I added a flipcard and used a True/False variable to show the states.
Thank you very much.
That's a very useful lesson for me in how triggers/states work as far as slide triggers vs. object triggers. I had tried the variable route also, but I had all the triggers on the object.
Glad that Michael was able to assist you here Ken.
It's been two years so this is probably an inactive discussion. But I'm wondering - is it possible to create an animated flip card action (as shown in this post) with a static object or image using Storyline 3? I know this is a basic question but Ken said he was using videoclips. I tried using the triggers/variables but it didn't work. Thanks.
Hi Lucy,
I haven't seen any newer examples of this - but I know there are a lot of discussions that touch on this topic! I did a quick search and didn't find much newer than this one.
I wonder if you could share what you've got going so far and then folks could share some ideas around your set up?
This post was removed by the author
Hi Lucy - I'm not seeing the files attached here. If you happen to have replied via e-mail, that's probably why.
Be sure to pop into the forums and attach directly here via the 'Add Attachment' option in the bottom left of the reply window.
I did reply via email. I'll do as you suggested.
Sent from my iPhone
This post was removed by the author
Hi Lucy,
I took a peek into Michael's file, and the "flip" animation he used is actually a video file. Very clever, Michael!
That's what I suspected but I wasn't sure because it showed as a png file...
This discussion is closed. You can start a new discussion or contact Articulate Support.