Flashcard Interaction v2

Community member Laura Gillenwater @tecocat had a great idea to improve the original version of this interaction, so I made a new version that behaves the way she wanted it to. Instead of repeating all 10 cards, both known and missed, this version continues to repeat only missed cards until all cards are known. Thanks again for the great suggestion, Laura!

The Lectora download file is a Lectora Library Object (.awo). To use a Lectora Library Object, drag and drop it into the open Lectora desktop application rather than double-clicking on it. 

For more information about using, saving, reusing, and sharing Lectora Library Objects for both Lectora Desktop and Lectora Online, see this article from the Knowledge Base.

http://community.trivantis.com/knowledge-base/reusing-content-with-library-objects-in-lectora-and-lectora-online/

Preview image

Tags: , , , ,

Comments

    1. Profile photo of Wendy Miller
      Wendy Miller Post author

      Hi Jorge,

      If you are asking what you need to do to modify this interaction so that you can use it in your own Lectora titles, that is easy. All you need to do is change the content inside of the card content groups. Download the .awo file and drag it into your open Lectora application. It will expand in the Title Explorer automatically. In the Title Explorer you will see that there are 20 content groups at the bottom of the tree (2 for each card) named “Card Front Content A”, “Card Back Content A”, “Card Front Content B”, “Card Back Content B”, etc. You can delete the original content inside of these groups and replace it with whatever you want. But do NOT delete the groups themselves.

      But if you are asking if there is a written tutorial for how to build this interaction from scratch, then no there is not. However, I am happy to answer any questions that you may have about it. When I was first learning to use Lectora myself, having source code examples like the ones you can download from the Trivantis Community were my best teacher. I would spend a lot of time digging through examples that other people had built to figure out how they worked and would learn a lot in the process.

      I can at least tell you where to begin tracing your way through this interaction. There is an action at the very top of the Title Explorer tree called “OnShowRunActGrp Reset Interaction”. When the page shows in the browser that action runs all of the actions inside of the action group called “Actions – Reset Interaction”. The actions inside of this group reset all of the variables, states, etc. of the pieces and parts of the interaction to their required initial values.

      At this point the interaction is ready to go. The next thing that happens is that the learner would click the GO! button. This button is located inside of the “Introduction Card” group. It has two actions attached to it. The first action hides the Introduction Card group, and the second one runs the action group called “Actions – Choose Random Card”. So that’s a start. From here you just need to inspect the properties of each action to see what they do and continue to trace your way through.

      And as I mentioned earlier, if you have any specific questions about anything in the interaction I am happy to try to answer them.

  1. Profile photo of Lisa Morgan
    Lisa Morgan

    Hi Wendy,
    This is a nice interaction, thanks. Love the modification so that it recycles only the missed items.

    I downloaded the library object (LO) and then put it into a new title (i.e., dragged the .awo file onto the Lectora page, as I normally do with LOs), to check it out, and when I saved the title and previewed the page (I tried in preview mode and in a browser), all I could see were the names of the fruits in a list — no graphics and no interaction happening. Could this be because I’m running Publisher 11 and not Inspire 12, do you think? Or am I missing something else?

    Thanks for the help,
    Lisa

    1. Profile photo of Wendy Miller
      Wendy Miller Post author

      Hi Lisa,

      Thank you for the compliment! But, unfortunately your guess is correct. This interaction was built in Lectora v12. And many objects in v12 files are not backwards compatible with Lectora v11. So you would need to upgrade to v12 to use it. Publisher or Inspire does not matter. The Lectora application that comes with Inspire is the same as Publisher. Inspire just includes a suite of additional tools.

      When I post my shared items, I always include the Lectora version in the tags shown just beneath the preview image. So if you see 11 or v11 in the tags, you know you will be able to use it with your current version. I am sorry that you cannot use this one with v11. 🙁

  2. Profile photo of Lisa Morgan
    Lisa Morgan

    Wendy, thanks a million for the quick response and helpful info. I’ll be looking into the upgrade to v12. 🙂

  3. Profile photo of Laura Gillenwater
    Laura Gillenwater

    Wow – thanks, Wendy!! I can’t believe you did that for me! (And I didn’t know that this version existed…I had only found the eLearning Brothers one so far.)

    One quick question, since I may not get a chance to check this out until tomorrow…is it easy to add more cards to this? The whole reason I want to use a flash card interaction is that my learners have to learn about 25 different roles (some of which are somewhat similar to one another) and I thought they could use flash cards to work through that before they head into the final activity…

    Assuming I can expand the number of cards (even if it takes a bit of work on my end), you may just have saved me some considerable time that it was going to take me to “re-program” the eLearning Brothers one I found. Given the workload and time constraints I’m dealing with right now, that is MUCH appreciated!

    1. Profile photo of Wendy Miller
      Wendy Miller Post author

      You’re welcome, Laura! Your idea made so much sense that I just had to do it! I’m sorry that you did not see this until now. I posted it all the way back in July! Maybe my replies to your posts went into your spam folder or something.

      Anyhow, yes, you can modify it to use more cards without too much fuss I think. Of course, you’ll need to create more card groups. You’ll see these at the bottom of the Title Explorer. Just continue to name the new groups with more letters or characters. If you go beyond 26 uppercase letters, then you can start over with lowercase letters and then go to symbols if you need that many. The reason I’m using letters instead of numbers is so Lectora does not perform math on the contents of some of the variables when adding to or subtracting from some of them. (I’ll bet you already know this!)

      Then there are two actions in the Reset Interaction group that you’ll need to modify. The first one is called
      ModVar __totalNumberOfCards = 10 (static value)
      Modify the value of that one to be the total number of cards you want to include.
      The second one is the one called
      ModVar __cardsRemaining = 10
      Set the value of that one also to the total number of cards.

      Next, you’ll need modify and add some actions inside the Choose Random Card group. The first one you need to modify is the one called
      ModVar __randomNumber = RAND(1,10)
      Set the second parameter of the RAND function to the total number of cards you want.
      Immediately after that action, you’ll see a series of actions that set the value of the __currentCard variable. You’ll need to add additional actions just like these, one for each additional card.

      I think that’s it. If you have any trouble getting it to work I’ll be happy to help. 🙂

    2. Profile photo of Wendy Miller
      Wendy Miller Post author

      Oops! There are three more action groups you’ll need to modify. Show Card Content Front, Show Card Content Back, and Hide All Card Content. You’ll need to add additional actions inside of these groups as well. Ok, I guess that quite a lot of stuff! But I think you’ll understand it once you get in there and look at it.

    3. Profile photo of Wendy Miller
      Wendy Miller Post author

      Arggh!! I found one more action that you’ll need to modify in the Reset Interaction group.
      ModVar __cardsToPractice = ABCDEFGHIJ
      This is essentially an array and keeps track of which cards to show or re-show. You’ll need to add your additional letters/characters to the value of this variable.
      *sigh* But as I said, if you have any trouble I’ll do my best to help!

  4. Profile photo of Laura Gillenwater
    Laura Gillenwater

    Thank you SO much, Wendy!

    I don’t know why I didn’t see your replies in July, or why I saw your original one now (right after making the post about the eLearning Brothers’ flash card interaction)…I’m so confused! But, no matter…just happy to have someone else pave the way for me. 🙂

    Yes, I’m sure once I get into it I’ll be able to figure out how to put in effect all of your helpful info above, so, thanks again for taking the time to post that info as well!

  5. Profile photo of Laura Gillenwater
    Laura Gillenwater

    Wendy – I Just want to thank you again for all of your help. I just finished making the changes to add the additional 8 cards I needed, and your detailed instructions listing all of the different components I needed to modify was SO incredibly helpful! I haven’t put the actual content into the cards yet, so it’s too early to test everything, but I’m feeling really good about this.

    One other thing that I had to do (which was actually way more challenging/time consuming than making the changes to add more cards) was that I had to resize your activity to fit my 785 x 600 page size. If you’d like me to send you a copy of this resized and more cards version, let me know…I’ll be happy to share! (Just give me a chance to finish the activity first, so I can make sure everything still works properly, etc.)

    1. Profile photo of Wendy Miller
      Wendy Miller Post author

      I’m so glad it’s working out for you, Laura! And I would love to see your modified version. Would you be willing to post it as a shared item here on the community?

  6. son won-tae

    Download Lectora File doesn’t work.
    Please send me Lector file(flashcard interaction v2)
    Thank you.

    1. Profile photo of Wendy Miller
      Wendy Miller Post author

      If you are able to download the file, perhaps you’re not opening it the correct way. A .awo file is a Lectora Library Object file, rather than a .awt file which is a regular Lectora file. To use a Lectora Library Object, drag and drop it into the open Lectora desktop application rather than double-clicking on it. The Library Object will expand in the open Lectora title automatically.

      For more information about using, saving, reusing, and sharing Lectora Library Objects for both Lectora Desktop and Lectora Online, see this article from the Knowledge Base.

      http://community.trivantis.com/knowledge-base/reusing-content-with-library-objects-in-lectora-and-lectora-online/

Your email address will not be published. Required fields are marked *