Leave the button to play the audio only twice

I am building an assessment of the foreign language with audio passages that the user must listen to then answer two questions about this. The user can play the audio twice. But even if I put 2 number of attempts, when I tested it, I was able to play the audio unlimited times. What is the trick?

play audio only twice.jpg

You seem to misunderstand the 'attempts' to an interactive object, will attempt to clarify. It does not limit the number of clicks ON the interactive object (here a button), but saying how many attempts can be 'impossible', which means clicking outside of the object. For your use case failure action would never happen, because the user always clicks the button, never outside it. Even with the project to continue that left you for the action failure: never happens.

For the successful action, you use the command Play Audio, with project to continue unchecked: This means that the user can click several times, the playback head was never released, and audio can be played as many times as you want. The solution is to use a conditional, tip action (not a standard action because you want to allow 2 attempts, sorry David - TLCMediaDesign) and a counter variable. Here are the steps:

  • Set a user variable v_attempts with a default value of 2
  • Create a tip action to be triggered by the button that looks like this:

It is always prudent to turn off the button before you hide it. Or you can just keep turn it off. This action also allows you to show the attempts left in a container of text:

  1. Before the first click: v_counter = 2
  2. After all, first, click on: v_counter = 1
  3. After the second click: v_counter = 0 and since it is more possible to click, there's = 0; This is important because CP is not very mathematical mind, does not see the difference between a negative and a positive number.

It is also very easy to change the number of retries by simply changing the default value. Think it will be one of the (easy) scripts in my recipe book future actions. TNX for the question.

Tags: Adobe Captivate

Similar Questions

  • Help, please! Remove the audio only pre-existing to make the new voice overs.

    Greetings,

    I made a video which is an advertisement for a company. How to add subtitles, I want remove the audio from the middle of the video and then create new voice on audio. I looked through the forum and did not find any discussion on eliminating only part of an audio segment and the creation of new audio to replace what you deleted. Please let me know if you have any advice or tips. I'm serious need assistance. Thanks in advance!

    Thank you

    Reid

    Someone I messaged on another forum and provided the shortcut "command + K. Seems to work so far. Thanks for any help.

  • timeline will not play video, audio only

    I just recently changed computers (windows 7 to Windows 7) and when I re-installed first CS5.5 on my new computer the video in the timeline never plays.

    The video box timeline shows a graph in offline media even after all the media was reconnected.

    When I press play, the playhead moves, but he will play only the audio and only shows the graph of media for the video offline. I tested a few of the clips to see if they would play in the source monitor, and each of them has played very well. It's just the video editing window that will not play.

    He started work yesterday for some reason, I don't know, but when I opened it the program it was back to the same problem.

    I watched a ton of messages, but none of them seem to have this same problem.

    I just figured out how to fix it. There are a lot of files in this project because it's a feature. So I thought maybe he could start working after all files have been reconnected (not only those of the sequence in which I was currently working). So last night I reconnected it most of them and the video began to appear in the monitor of the chronology for each sequence, I opened. I don't know why it did not show anything either until everything has been reconnected, but now it works. Thanks for your help!

  • No voice in the audio, only music and sound effects - while playing the movie in Media Player

    Original title: Media Player

    I get everything on trailers, but when I get to the movie there is no audio voice only music and sound effects, how can I fix it's on media player and centre

    Possible solution:

    After spending the afternoon to tackle this (troubleshooting, downloads driver updates, etc.) I just found out that my subwoofer cable is bad!  If I raise to create a good connection, the sound is fine... until I can replace it.  Then you can try it.  :)

  • Some videos transferred does not work on Windows Media Player (no picture when playing video, audio only)

    Hello!

    I have this problem, and it's very frustrating.

    I tried to solve this problem, but it seems that it does not work.

    When I want to click and open to see a video that was my old HTC SD card that I transferred all the files and videos on my account Dropbox, and now when I try to open and watch the video, it doesn't appear as an audio file and not with the original video.

    However, when I watch the video on my Dropbox account or my Samsung phone, it's showing the video perfectly well. I also tried to transfer the videos separately, but it simply doesn't. Here I'll show you a picture of what it looks like on the videos which does not appear

    http://oi58.Tinypic.com/wi4ub8.jpg

    And it's one of the rare videos that work to see, (on the phone EVEN HTC and SD card)

    http://gyazo.com/090902637ebd63f7fa6ff6080d40a409

    Help, please!

    Hello, I have now fixed my problem by downloading a converter called Freemake Video Converter!

  • The use of blackberry.audio.Player to play back audio in app WebWorks

    I'm playing some audio when the user clicks a button in my app WebWorks...

    function playAudio() {}

    var playerInstance = new blackberry.audio.Player("audio/blah.aac");

    playerInstance.play ();

    }

    It does not work. I tried all kinds of combinations and the only time where I can't not run is if I leave the audio clip of my project and put it on the card as follows:

    function playAudio() {}

    var playerInstance = new blackberry.audio.Player("file:///SDCard/blah.aac");

    playerInstance.play ();

    }

    How can I play audio that is integrated with my WebWorks app?

    Thank you

    OK fixed! I would have had a better look at the forum first: o

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/sound-will-not-play/m-p/1098623/...

    It works for me now:

    function playAudio (src) {}

    var fn = "local: audio / / / /" + src;
    try {}
    var playerInstance = new blackberry.audio.Player (fn, "audio/x-aac", true);
    playerInstance.play ();
    } catch (err) {}
    txt = "Error reading audio\n\n" + fn + "\n\n";
    txt += "Error:" + err.message + "\n\n";
    txt += "Click OK to continue.\n\n";
    Alert (txt);
    }

  • First Elements 13: Mounting a WMV distilled from a PowerPoint... Can't see the Audio track

    I am someone help with what we thought would be a minor change task. We have a WMV file created from a PowerPoint presentation (and no, we don't have access to this old PowerPoint). We need to move some of the video autour, but leave the audio the same. When we added the media, we can see the video and hear the sound, but the audio is not on a track in the timeline panel.

    For some time I used the first. The answer lies in the conversion of PowerPoint to .wmv? Is this why we cannot see a separate audio track? Any help would be greatly appreciated.

    Richards_Daddy

    I hope this will be new to the program rather than a question of serious program concern.

    I am basing my optimism on your statement of "when we added the media, we can see the video and hear the sound, but the sound is not on a track in the timeline.

    What version of Premiere Elements are do you use and which operating system is involved?

    For now, I'm going to presume first items 11, 12/12.1, 13/13.1 on Windows 7, 8 or 8.1 64bits.

    In what specific workspace to the project are you? You are in the area of Expert work or fast.

    Fast working space is not a dedicated numbered audio track.

    If you are in space and quick work of his film, then go to the workspace Expert with his script numbered video tracks, audio tracks numbered, track of Narration and soundtrack.

    If this isn't the problem, then we can move on to other factors related to the issue.

    Thank you.

    RTA

  • Whenever I have add a sequence to a clip that the audio is there?

    So, I was fiddling around with adobe first and fixed most of my stuff on my own, now when I do things I don't see the video portion of the clip in the timeline, the audio only? Help pls ASAP!

    Nevermind, I figured it, when an item in the project Panel and points, this is what happens, only the music (video), but the audio is partially removed, thank you for the refresher, but I watched all the stuff of adobe.tv. I fully understand that however, most people would just get the action right away and not bother to read how the textbooks. That is the Bugbear of the today's generation (sometimes) but thank you!

  • The two speakers play left audio channel only.

    OK, so I plugged speakers to my new computer configured with windows 7 and have had problems listening to a simple song. When I use the speakers (I tried several different sets) the two speakers appear to play only the audio in the left channel, and nothing don't play the channel right, which means missing out on a lot of songs or watch: (.) The speakers are plugged into the making of lime on the back of the computer, and this problem occurs with each pair of speakers I'm looking for. When I use my usb headset, the sound is perfect. When I go into the sound Manager, I can "set up" speakers, and when the small figure lights up to let you know that all law is supposed to be carillon, carillon of two speakers. Even with the left. When I go to the Realtek HD audio Manager and test it, each speaker lights up and plays on his own, just as it is supposed to. If I connect to my other computer via desktop remotely, the sound works perfectly, each speaker playing its own channel. It's just when I am playing a song on my desk that I have problems. Also the problem with good windows media player and vlc player. Any assistance in obtaining of drew it up would be appreciated. Thank you!

    Use a splitter to connect your speakers to the back of the tower.

    Pregnant how many channels is it?

    The drivers are up to date?

    Motherboard?

    Update the audio drivers of blogs of the manufacturer of the motherboard.

  • Windows Movie Maker - Audio only, which plays in the exported project

    Hello.

    I did a project in windows movie maker with video and audio files. Project perfect cheek (the two audio/video playback) in windows movie maker when I am in the phase "creation/editing. When I export it and save the project as a. MP4 or. WMV file and try to play in Windows Media Player, Quicktime or VLC, as the audio of my theatre project. There is no video. However, when I play the other. MP4 files or. WMV files via these media players, they play very well. So I think that the problem is with the export of the Movie Maker project. Also, thinking that I have perhaps incompatible video files to Windows Movie Maker, I tried just using Jpeg files with audio to create a slide show, thinking that it would work with standard Habitat. Yet once, however, that the audio is played with a project containing pictures (no video). Any ideas?

    Audio was working fine, just no photos or video showing once the project has been saved as a movie. So, I tried your solution of creating a short slide show with photos only and no luck. I uninstalled and reinstalled movie maker and still no luck. Downloaded the pack codek for windows 7 and still no luck.

    So, I decided to download the Vista windows movie maker for my OS to windows 7 and everything works like a charm. Don't know how or why, but the version of Vista is flawless on my windows 7.

    Thanks for your suggestions. I appreciate the help.

  • I use creative cloud of Adobe Premiere Pro and it does not allow me to drag. In the line of time, only the audio files of the video MXF files. Plays in the video source, but does not allow me to change on the time line with the. MXF files.

    I use creative cloud of Adobe Premiere Pro and it does not allow me to drag. In the line of time, only the audio files of the video MXF files. Video plays in the source window, but does not to drag me and thenedit on the time line with the. MXF files. audio will slide to the time line, but not the video. Interestingly, not later than end of December 2015 it allowed me to change with .mxf files, but no, it won't. Any help out there?

    Neil, get it fixed, I do not have the video channels set correctly on the left

    side of the line of the time. Learn the new adobe; Thank you

    Monday, February 15, 2016 13:20, R Neil Haugen [email protected]>

  • Audio attached to the button "submit" plays at the beginning of the slide

    I created a text box with a "submit" button. When someone types in their response and clicks submit, text comments will appear and an audio excerpt explains the answer. I have attached the audio, the button submit, but when I go through the project that it plays as soon as the slide appears, not after the answer to the question. He does not appear in the timeline panel, but played when I go to the Audio tab of the submit button. As an aside, the audio on the success and failure of the feedback will be the same. Does make a difference? Should I attach audio to the legends of f/b?

    Any ideas on how to solve this problem?

    PS - the Captiv8er - you were so help kind it has everyone (me)! THX!

    Well, how about that? I am answering my own question...!

    With more tests, I found that if I join the audio for the legends of success or failure, she plays after the answer to the question. The audio was playing when the slide appeared first of all because I loose to the Submit button, which is visible from the beginning of the slide.

    Thank you, me! (Maybe I'm starting to find it?...)

  • Add the button to play the Audio

    Rick and other experts, it should be easy, but heck, I can't make it work.

    Location: 6 Captivate slide 2 (any text, from PPT). Next navigation control button appearing a.5 and stopping at 5.5 no other objects or chart on the slide back and forth.

    Problem: I want to add a 'play' button, which will allow students to hear an audio summary of the information. However, I want the button to appear also a.5 seconds. I tried different variations, but no matter where the play button is or where the 'pause' is placed on the timeline, the audio still works without clicking. I don't want to do this.

    Any solution other than a jump to?

    Hello

    There should be several ways to do this.

    * If the sound is at the level of the slide, phase it so it's not 'appear' to a.5,.6 ou.7 seconds in. Then configure the button to pause seconds a.5.
    * Configure the button with a legend of success and set the audio to the legend of success
    * Insert the audio on the next slide and have the button simply open the next slide

    There are other ways as well. Just threw a little.

    See you soon... Rick

  • Audio does not matter in the sequence, only the video? plays very well in the source window.  What should do?

    Please help... as a result of a recent pro first cc update, that I can't see the audio file in the sequence of the chronology of loading when I drag over the project Panel.  The video file is loaded correctly, but there is NO audio data during playback and no audio file loading.  The file is played both video and audio in the source Panel.  That's happened?

    It is almost always a problem with setting the patch/targeting of audio tracks...

    Neil

  • Character animation - lip sync doesn't work is not for me... When the audio button is lit, model puppet reacts to the speech but it only shows smiling them and surprised

    The video works, all moving very well, surprise and also smile. But when the audio is turned on, it never shows the other mouth, speaking clear English (and audio levels very well)...

    Have a look, it s working in fact :-) bumpy at times... comments may be noise - wasn't using headphones... maybe I got a switch or located make correctly in the user interface.  great work thank you!

Maybe you are looking for

  • I have 80 email addresses and when I try to send to all 1 will not send

    I have to send to a group of people in an email that I sent a file for each of them to be. Now when I send to this group he will not send one and I have to separately add to include him. I removed his contact and he readded with no luck. Any ideas?

  • My browser is hijacked

    Firefox is my default browser on my XP - Pro SP3. Yesterday, my Windows 7 wouldn't start. To try to solve this problem, I used this XP to try to make a boot floppy. The file I downloaded was so full of malware that, after the two rounds of eScan, lat

  • List of pointers Moveblock

    Hello I have a list of memory addresses and use Moveblock to get the values (which is a 640 x 480 arrray 2D in my case). That's just fine until calling Moveblock multiple times (for example using different memory addresses) for all my paintings 2D (1

  • change of axis chart xy programmatically

    I would like to know if there is a way to control the name of x and y of the programmatically on a xy chart axis labels. I have a case statement that has 4 different case, and I would like to label the y-axis to change and match case who is chosen. I

  • What is Microsoft Security Essentials the same as a firewall

    Is - this Microsoft Security Essentials the same a wall of fire. Keep my windows firewall is set to the wide.