Advanced actions - trying to show a text caption

I have a slide with 5 text captions made from smart shapes, and 5 click boxes. All 5 smart shapes are hidden. I have 5 variables, all of which are set to zero. When a click box is clicked on, the corresponding smart shape shows and the value of the first user variable is set to one. When another click box is clicked on the corresponding smart shape shows and the next user variable is set to 1. Each of the click boxes is set up in a similar fashion. I set up 5 advanced actions, and the On Success action for each of the click boxes uses one of 5 advanced actions. The action for each click box looks something like this (I'm using generic names for this example):
IF variable1 is equal to 0
ACTIONS
Show textCaption1
Assign variable1 with 1
Play Audio sound.wav
Continue
This is working fine, and the corresponding smart shapes are showing as they should when each of the click boxes is clicked on.
But I have an additional feedback text caption that I want to show after all 5 smart shapes are showing. I tried setting up an advanced action that looks like this:
IF
variable1 is equal to 1 AND
variable2 is equal to 1 AND
variable3 is equal to 1 AND
variable4 is equal to 1 AND
variable5 is equal to 1
ACTIONS
Show feedbackTextCaption
But even after all of the click boxes have been clicked (which should set each of the 5 variables to 1), the feedback text caption does not show.
Can anyone help with a suggestion?

@Sreekanth, that is not the correct approach, because a user could click 5 times on the same click box and see the final text caption. Only when you disable an already clicked interactive object this can be used. Jay was right by choosing five different variables.
@Jay How do you trigger that last conditional action? Which event do you use? You explain that the first described action is triggered by the click box, but not what is triggering the conditional action.
I suspect you'll have to combine both actions, and assign them to each click box. That means a conditional action with two decisions:
First decision 'Always' needs the condition 'IF 1 is equal to 1' to create a mimicked standard action, and has to show the text caption, to assign 1 to the variable and to play the audio. I don't know why you added 'Continue'? If the click boxes pause all at the same moment, don't add Continue, let the playhead remain at the same location.
Second decision 'Checker' is the conditional action that you wrote, checking the values of the 5 variables, and if they have all the value 1 to show the feedback text.

Similar Messages

  • Edit Actions and Advanced Actions in some kind of text editor

    Is there any way to edit Actions and Advanced Actions in some kind of text editor?
    The built-in GUI is fine for little tweaks, but trying to use it for anything real is a almost impossible.
    Can Creative Suite open a Captivate project and give access to the Actionscript in the project?
    Is there a text file someplace that can be extracted, editted, and put back in?

    Hello,
    has the feature to edit  Actions and Advanced Actions using a text editor been implemented into the new Captivate 7?
    I'm facing the problem that I have very extensive Advanced Actions in Captivate in which I want to change a variable x into a variable y. Doing it manually would take  about a day or so.
    It would be great if there was some kind of workaround.
    Regards

  • Captivate: Using Javascript to show/hide text captions

    Hello,
    I want to show/hide a text caption using javascript. I can't find the way of doing it with advanced actions. I dont know if it's because it belongs to a question slide in a pool. Does somebody knows if it's possible and how it can be done??

    You can set the length of the variable when you insert it.
    15 characters is just the default setting.
    What I meant by COULD is that the kind of thing you are asking about here (using JavaScript to hide objects inside a Captivate movie at runtime) is not as simple as you'd like it to be.
    JavaScript is not my particular area of expertise, but there are some people that chime in on this forum that ARE experts at JS. But I think they would also be the first to say that it's not as simple a thing to pull off as just "knowing the command to hide/show an object".
    The easiest tool to use in Captivate for showing or hiding objects is Advanced Actions.  The next easiest thing to use is ActionScript 3, and that's hard.  JavaScript is a very useful programming language, but it spends all of its life outside the Captivate movie looking in through AS3's External Interface.  So JS alone is not going to solve all your issues.

  • CP7 Advanced Action stopped working

    I am trying to create a slide that gives answer specific feedback to a multiple choice practice question.  To do this I am using the radio button interaction and an advanced action that displays the appropriate text caption box based on the selected answer.  It also shows the "next" button allowing the user to proceeed to the next slide upon choosing the correct answer.  I have used this method before successfully.  It was working properly for this specific slide.  Then, suddenly, on one preview it stopped working.  Clicking the "Check answer" button has no effect.  No text captions are displayed at all.
    If you want to see the problem the (unfinished) project is here.  Slide 6 is the problem.  It should be behaving exactly like slide 4, and was at first.
    I'm sure I did not inadvertently change anything about the slide or the action and have checked to see that everything is set properly.  I have checked and rechecked the variable and action names for conflicts with other actions.  I have restarted Captivate and restarted the computer.  I tried assigning a different action to the "Check Answer" button then re-assigned the desired action to try to "reconnect" it.  The action was working correctly each time I previewed the project until one time it did not work.  It has not worked since.  I believe that I only worked on static content slides between the working and non-working previews so I can't see what I could have done to break it.  The problem occurs in both Flash and HTML5 and in both previews and published files.
    I must have done something but I can't see what.  Any suggestions would be most apppreciated.
    I am using the latest version of Captivate - 7.0.1.237 - on Windows 8.1
    Here is a screen shot of the action:
    Thanks for anything you might be able to add here.

    Thank you for your suggestions.  Looking with fresh eyes today I found the problem.  On checking the radio button interaction there was no variable listed.  Somehow the variable holding the selection had become "disconnected" from the interaction.  Re-entering it fixed the problem.  Of course I only discovered this after deleting and recreating the actions and trying your suggestion of sharing the action from the other working slide.  When none of these worked I was trying to figure out what else might be common to all of these "solutions" and eventually found it.
    As for your other offered tips, I don't mind at all and welcome them.
    I considered grouping items but unless I am missing something there is no group that is common to all options and can be shown/hidden together.  I would have to create separate groups for each alternative answer which seems to me to be about an equal amount of work to showing/hiding individual items.
    As for your labelling suggestions, I have adopted them and made the appropriate changes.
    Once again, thank you so much for your time and efforts.

  • Unable to make an advance action repeat on the same slide

    Good Afternoon All,
    A little background info.  I am using Adobe Captivate 5.5.   I have recored a training practice video and I am attempting to add a button on multiple slides that would show a reference image to help the users through the training scenario when clicked. When they are done with viewing the image I want them to be able to click a button that hides the reference image and allows them to return to the training scenario.
    I have inserted the image (called timesheet) on the slide.  I have made the image invisble
    I have created  Button_9 (display name show timesheet) which is visable and Button 10 (display name Hide timesheet) which is not visable.  Both buttons are set to allow infinate tries.
    I have created two advanced actions
    1.  Show timesheet has the following actions
         - Show the reference image timesheet
         - Hide Button 9
         - Show Button 10
    2.  Hide timesheet has the following actions
          - Hide the reference image timesheet
          - Hide Button 10
         - Show Button 9
    On Button 9  "Show Timesheet" I have set the action to be excute the advanced action 1 -  show timesheet
    On Button 10 "Hide Timesheet" I have set the action to be excute the advanced action 2 -  hide timesheet
    So far everything works as expected meaning I am able to click the show timesheet button the image appears and the button changes to hide timesheet.  When I click hide timesheet the image disapears and the button changes show timesheet.  However the issue is if I want to look at the reference image again on that slide the Show timesheet button is visable but does nothing when clicked.
    Any thoughts would be greatly apperciated.
    Thank you for your time
    Jessica

    I think you've gone the hard way around this issue.  All you really need is to provide the user with information.  Clicking something is not really required by that.  A mouseover would work just as well.  So instead of trying to use clicks and Advanced Actions to achieve this, I would recommend you avoid all the complexity and just use a rollover image instead.
    I use this technique a lot in software tutorials where the user has to perform a number of steps to complete a task and they will need to refer back to the list of steps at regular intervals.  I place a rollover caption on the master slide that I can apply to any slide in the project and set the master slide objects to be on top of everything else.  The rollover caption contains all of the instructions for the task.  This makes it possible for the user to mouse over a given portion of the screen at any time during the task to see what they need to do next.

  • Text Caption options not applied

    Hi,
    I'm trying to add a text caption with a transparent style.
    however when I try to modify font, font size, or color no change is
    being applied. If I switch to the Adobe Blue caption style I can
    modify color, but not font size. Any idea why this is
    happening?

    Hi there
    I happened across a weird issue just last night that was resolved by choosing a different ActionScript version. I'm wondering if you can try this to see if there is a change in behavior.
    Click Edit > Preferences > Project > Publish Settings and whatever it's set to AS2 or AS3, try the other option and see if it changes your outcome.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Imported text caption objects cause errors

    I imported objects only from a similar Captivate project.
    When I tried to edit the text captions, I would double click the
    text caption and nothing would happen. Then I would get a blank
    gray screen of death before the application would crash. This never
    happened before, so I'm at a loss.

    I was able to get past this issue by logging in to the client 000 and
    activate the object WFMFC_INDTOR_GRP from transaction SE11.
    Dictionary Object --> Activate from the menu bar. Gave me few warnings
    but did not error out.
    Hence went past the phase and the upgrade is progressing as of now.
    However, can you please confirm if this is a correct fix or do you want
    me to do anything different since I have not reached the MODPROF_TRANS
    phase yet.
    Thanks

  • Can Advanced Action functions be done with JS?

    Is it possible to use JavaScript to perform Advanced Action functions like "show", "hide", "assign", etc? If so, is there an applicable reference doc?
    Thanks,
    Bob

    The SWF JS API does not support show/hide... only assign.  HTML5 JS API supports show/hide and assign.
    To assign a vairable regardless of Output, you can look at this article:
    http://captivatedev.com/2012/12/17/display-the-students-name-from-your-lms-using-adobe-cap tivate-6-x/
    If you want to show/hide in HTML5, you can use
    cp.hide("ItemNameHere");
    cp.show("ItemNameHere");

  • Advanced action: jump to next slide if all text entry boxes are filled out. If not, pause project and show error message

    Hi there
    Working with captivate 4 and advanced actions, which is a great new feature, I encounter the following problem:
    I have a sign-in slide, where the user has to insert his name and several other data. For user-friendly handling, I have the text entry boxes appearing one after another, so when the user confirms his entry, the next text entry box appears and has the focus.
    The button for jumping to the next slide works with an advanced action:
    Only if the user has filled out all the text entry boxes, the action "jump to the next slide" is performed.
    If not, an error message is shown.
    It works well so far.
    Now, I want the project to pause there, and not to jump back to the beginning of the slide (as suggested in another Thread in this forum), because then the text entry boxes dissappear again.
    I tried to set the movie control variable rdcmndPause to 1 in order to make the movie pause, but nothing happens.
    I tried it with an external playback control bar and without, it didn't work in either case.
    I found the hint:
    To control the project through the skin file, add the prefix cpSkinLoader_mc to the variables. This might be the solution.(?)
    But how can I change the name of a MovieControl Variable?
    If anyone knows, how this is supposed to work or has another suggestion to solve the problem, please let me now.
    Thanks a lot.
    Petra

    Hi Petra,
    I believe I can help you, but from a completely different angle than anything you've tried yet.  I try to find simple solutions to complex problems.  No advanced actions will be needed, just a little creative timing.  First, I need to be sure I correctly understand what it is you're hoping to accomplish.
    If I understand you correctly, you've got a single welcome slide.  On this slide you've got several TEB's (text entry boxes), set up with variables to make your project more personal or gather some required information.  These TEB's have no right or wrong answers, they simply require an entry: such as an address which begins with a numeric key.  The TEB's are set to appear one after another, as one is completed the next one appears.  Once all have been completed a next button, set to "jump to next slide" takes them  to the next slide and on through your course.  You want the project to pause until the user clicks this button, and only proceed if all TEB's have been entered.  If not, you wish an error message to appear.
    If the above description is correct, I'd do the following:
    Leave your TEB's to show up one at a time as the previous is submitted, as you've described. (each one pauses the slide till info is submitted, then "continues" the slide and the next TEB displays)
    Set each TEB to "display for rest of slide".
    For the next button:  In the properties dialog box, options tab, name the button "Next_button" and uncheck the visibility box.
    Open the properties for the final TEB that students will fill in and set the on success property to "show" then choose the Next_button by clicking the drop down arrow beside the "show" field.  This will hide the Next button until all TEB's have been filled in.
    There is no error message, because there is no possibility of error.  Why tell a student they've messed up, just eliminate that possibility!    All TEB's only display after the previous is entered, and the Next button is hidden until the last TEB is entered.
    I've tested this in a simple 3 slide project and it all worked fine, including some variables.  If you need more detailed info, or would like to see the sample proj. I created let me know.
    Hope this helps.
    randy

  • Closed captions on advanced action (play audio)

    Been using CP8 for awhile now and have a question about closed captioning with advanced actions.
    I have a single slide with audio that plays when the slide starts. Also has 4 action buttons on the slide. I wanted to force the user to click all four buttons before the slide would continue. Each button press would also play an audio file.
    I created an advanced action for each button that sets it's own button variable to "1", enables the visibility on the highlight objects for that button area, and plays an associated audio file for that button area. The advanced action also tests to see if all four button variables are set to 1. If true, it enables a continue button to go to the next slide.
    My problem is that for the closed captioning, I only get CC on the intro audio. I can't seem to figure out how to get the CC for the audio played by the advanced action. It just shows the original CC for the main slide.
    Is there a way to change the CC contents from within the advanced actions so that when they click the button, it plays the audio and changes the CC? I cannot use other boxes to display the CC info. It has to be in the CC box.
    Otherwise, I'm looking at creating a separate slide for each button click (jump to slide X) which plays the audio and CC. I was trying to avoid having 5 slides instead of one.
    Any suggestions?

    Only slide audio appears in CC, not object audio. You will have to add text containers that you show if cpCmndCC is set to 1, and hide if it is set to 0.

  • Test if text box is empty - advanced actions

    Hi,
    I have a form that the user is required to fill in. When the user tries to progress to the next slide I would like to test to check that none of the text boxes are empty.
    Ideally something like;
    if ((Textbox1) == null){
    show failure caption
    } else {
    continue
    I know you can use advanced actions however I'm having trouble defining null. I've even tried creating a variable and leaving it blank and testing the textbox against that however it doesn't seem to work either.
    I'm probably missing something simple as I am very new to Captivate.
    Is there a way to hand code advanced actions using AS?
    Any help would be greatly appreciated!!
    Regards
    Tim

    Hi!
    I had the same problem.
    User has to enter his name.
    I predefined the variable of the textbox with an action at the "what should happen if you reach this slide" feature. You can find it if you doubleclick on the slide with your textbox, then look in the area "navigation". I have a German version of Cap4 so the names of features and functions differ...
    Declare the variable of your textbox let's say "ABC123".
    With an advanded action you can check if the text inside the variable changed from ABC123 to anything else:
    if
    variable_name is not equal to ABC123
    then
    else
    If the variable is still ABC123 I jump to another slide with an error message.
    An example you can find here:
    http://forums.adobe.com/thread/446449?
    Regards,
    Markus

  • Text Entry Box--Advanced Actions--Conditional Statement--Double quotes in literal input value

    Hello forums,
    I'm new to the forums (and Captivate in general), but I'm having a real problem carrying out a tutorial design and I think you may be my only hope.  Let me explain what I want to do and the difficulty that I'm having:
    I'm an instruction librarian at a university, and I'm designing an interactive tutorial for English 100 students to complete in order to become familiar with how to search the library catalog.  What I've done is taken a screenshot of the catalog search page, made it the background of a slide in Captivate (vers. 6), and placed a text entry box over the search bar in the screenshot.  The idea is for the students to conduct a simulated search by choosing one of three suggested search string formulations, and depending on the search string they enter, the tutorial will jump to a slide featuring a screenshot of what the actual search results would look like.  The idea is to emphasize the use of keywords over full-sentence phrases, and the use of double quotation marks to enclose multi-word search terms.
    So I've set the action for the TEB to "Execute Advanced Actions" and then created some IF/THEN statements in the "Advanced Actions" pop-up window (with action type set to 'conditional'). The script is such that if the student enters the first search option (how does sleep affect college students) in the TEB, the tutorial jumps to 1 slide, if they enter the second option (college students AND sleep), featuring a Boolean operator (AND), the tutorial jumps to a 2nd slide, and if they enter the third option ("college students" AND sleep) with the double quotes around "college students" and the Boolean operator, the tutorial should jump to a 3rd slide.  This action script works fine for the first two input options, but I can't make it work for the third search option.
    I think that it has something to do with the fact that the third input option features double quote marks, and this seems to throw off the script (I tried a quote-less input value for the third IF/THEN just to make sure that it would work jumping to the 3rd slide and it did), and I'm wondering if anyone has any suggestions as to how I can get around this issue.  Again, I need it to work so that if the student enters "college students" AND sleep, with the quote marks and the Boolean operator, the tutorial will jump to a slide showing the search results if those search terms were used in a real search of the catalog.
    I'd be extremely grateful for any help that anyone here can give me, we've been trying to make our online tutorials more engaging and interactive (and therefore more interesting), and I think this would be a great way to teach students about using quotes in their catalog searches.
    Thank you for your time and consideration.
    Andrew Wilk
    College Library
    UW-Madison

    The tutorial is for a "how to use catalog searching" instruction in an undergraduate library session.  We use boolean operators (AND, OR, NOT) to combine search terms, ex. to search for books about the sleeping habits of college students, I would enter "college students AND sleep."  Because "college students" is a multi-word phrase to describe one concept, I need to put quotation marks around the phrase to prevent the catalog from searching for the individual words separately, so the most correct search becomes ["college students" AND sleep] with quotation marks around only "college students," a user-typed "AND," and the word "sleep" (no q-marks).
    A colleague of mine worked out a pretty cool (if complicated) solution that I'll share if anyone is interested.  Since the q-marks where the problem, we've set it up so that the TEB validates the response for the search string with q-marks around "college students." If they enter it correctly, the tutorial jumps to the corresponding slide. The attempt # is set to 1, and if the user fails to enter the validated phrase (they misspell or use one of the other response options) then the TEB is set to run an Advanced Actions Script in which the other two options are scripted in IF/THEN statements that cause, when the term is entered correctly, the tutorial to jump to their corresponding slides. We've created another tab of IF/THEN statements that say that if the response is NOT equal to one of these response options, then the slide restarts (technically the slide "jumps" back to itself and starts over) and the user gets another chance to start the cycle over again.
    I know this is confusing (I had a really hard time explaining it in words), so if anyone is interested I could make a Jing video when I have some time.
    Thank you for all your suggestions

  • Create a button with an advanced action to start a video and associated text on the timeline.

    I need help. I have a video on a slide that I want to start only when the learner clicks a Play Video button.  When that button is clicked, the video should start and the associated text captions with their timings should start then as well.  Is this possible with advanced actions?  If so, can anybody help me with those actions?
    The slide would work like this:
    Upon entry to the slide, narration is playing, and a text box appears on the screen.  It tells them to "click the play video button to begin".  Nothing should happen until they click the play video button.
    When they click the button, the advanced action would start the video, and the associated text boxes appear as each "step" in the video goes by.  It's a procedure with step by step instructions.

    You are very correct.  I am making it too complicated!  I believe I will do exactly what you said.  If I still want to have a button that says Play Video, I could just have that button advance to the next slide.  The learner will probably not even know they are on a different slide.  Thanks for making me see that clearly.  Sometimes I get too caught up in trying to do something one way.  Thanks for the help! 

  • How to get an advanced action to respond to text selection in dropdown widgets

    I want to provide a user with a set of dropdowns containing text strings, and if they select the right combination of dropdown entries, give them a Continue button, and if they don't select the right combination then give them an error message and solution.
    The trouble I'm having is I don't understand how to get the action to read the widget selections. I'll go through a demo to show you what I'm doing so far.
    (Context: CP5, and JavaScript/programming ignoramus.)
    Objects in the demo
    My steps so far
    1. Set up two user variables
    2. Create two dropdown widgets (Widget1 and Widget2) each with labels "Right" and "Wrong" and point them to the two variables.
    3. Add a Continue button and a text box labelled Wrong, each set to invisible.
    4. Add a Submit button with advanced interactions to show Continue or Wrong depending on what is chosen in the widgets.
    The full set of conditions and actions are:
    IF vTestWidget1 is equal to Right
    AND vTestWidget2 is equal to Right
    THEN Show Continue
    ELSE Show Wrong
    The problem
    I run this and only ever get the ELSE response (i.e. I can select two Rights and the Submit button still displays the Wrong text box).
    Possibilities
    I'm missing some sort of formatting around the text?
    I need something like a submit button for each widget to prompt an update in their associated variables?
    Can anyone help?

    Thanks, for the help guys. However...
    I have triple-checked my variable naming and can't see any problem.
    What I did do was eliminate the "Choose" option from the head of each widget. The demo suddenly worked perfectly!
    BUT  that perfect outcome seems accidental.
    The demo seems to work ONLY when the Advanced Action's success conditions refer to the first entry on each dropdown. That is, if the dropdowns contain values Right and Wrong, IN THAT ORDER, and the Action looks for "Right" and "Right" then you can click Submit and it produces the Continue button.
    However, for example, if you reverse the order of the entries in one widget, so Widget2 contains Wrong and Right, and YOU DON'T TOUCH ANYTHING ELSE, then selecting "Right" and "Right" and clicking the Submit button produces the Wrong text box response.
    So the order in which entries are listed in the widget has an impact, at least for me.
    When you guys replicated my use case, did you replicate the Choose entries in the widgets, or did you simply have two top-level Right responses?
    I've uploaded my first demo, without any other changes, to Google Docs, if you want to check it:
    https://docs.google.com/leaf?id=0Bz2ZZ5mfN3BkMjc1N2U3ZjgtZWZmMC00MmVlLWE3Y2UtZTczMzM5ZjI1N GMx&sort=name&layout=list&num=50

  • How can I use an advanced action to show a sequence of images by clicking on a single button?

    I'm trying to make Captivate 7 project where I have several slides where images are revealed one after the other.  I wanted to insert a button along the lines of click here for next image but can't work out how to write the script for it.  The Adobe information is next to useless and I can't find anything which breaks down these processes from scratch.  Any help appreciated!

    You're a little early but help is on the way.  There are a couple of new e-books being written about using Advanced Actions.
    One of them is currently available as a discounted pre-release here:
    http://www.infosemantics.com.au/e-books/guide-to-adobe-captivate-advanced-actions-01
    Lilybiri is also writing an Advanced Actions Cookbook as well.
    Your specific use case could be handled a number of different ways:
    Have your images on different slides and use an identical button to jump to each slide.
    Use Conditional Advanced Actions and User Variables to check which images have been viewed and then show the next image in a series.  This would allow everything to be done on the same slide but is a more advanced technique that may be beyond your abilities until you are more versed with how variables and advanced actions work.

Maybe you are looking for