Conditional advanced actions still not operational

I have been trying to master some basic conditional actions but with very little luck. You can see from the screen shot that all I am trying to achieve it to have a situation where once the user has clicked all of the buttons a Well done message pops up. Could this be so hard? I have included screen shots of the variables I have created as well as the advanced actions. Aplogies for the screen shots.

Maybe you should have read this
http://blog.lilybiri.com/template-for-reusing-script old but the work flow for the actions still valid.
http://blog.lilybiri.com/link-score-to-attempts-in-custom-questions   scroll down to the actions on the Score slide
And I showed the work flow in a recent webinar about shared actions, you'll find the recording link for 'Prepare and Share Advanced Actions' here: http://blogs.adobe.com/captivate/tag/etrainings
Have several comments about your condtional action:
Why do you add the condition 'If 1 is equal to 1'? That is only needed as standalone condition if you want to have a standard action combined with a conditional action, is not the case here
Combi standard and conditional action  old article explaining that combination
The problem is that your conditional action is triggered by the On Enter event for your slide: you don't tell if you return to that slide? I don't think so, which means this action will never again be done
http://blog.lilybiri.com/events-and-advanced-actions
The solution is to combine the standard with the conditional action in the actions triggered by the On Success event for the buttons; use a conditional action with two decisions (described in the second link I posted above):
'Always' is standard action (If 1 is equal to 1') and has the commands that you have in your present standard actions
'Checking' is the real condition, has to be after the Always (sequence very important: http://blog.lilybiri.com/blog-after-posterous-clickclick); as I told you just need the 3 conditions about the variables combined with AND
Sorry for all the links, have been writing about advanced actions for about 3 years, stopped in March. If I was sure to find enough buyers, would create some digitial cookbooks. But I feel this would be a lot of work for nothing.
Lilybiri

Similar Messages

  • Scripting for Conditional Advanced Actions disappears after saving - title remains

    Hi, for the third time in a 24 hour period, after painstakingly entering 14 lines of variables and actions, the contents of the conditional AA script that I saved disappeared.  Yes, I saved all of them!  The name I gave it remains on the list of Advanced Actions, but clicking on it yields a virginal scripting window. At this point I've wasted a couple of hours re-writing the script only to have it go blank on me again.  Any ideas?

    It's actually a lot more complex than that.
    Here is a list of words that should NOT be used when naming objects, slides, variables or actions in Captivate because they can conflict with existing code or names in the app:
    abstract
    accessibilityProperties
    alpha
    as
    blendMode
    boolean
    break
    buttonMode
    byte
    cacheAsBitmap
    case
    cast
    catch
    char
    class
    const
    constructor
    contextMenu
    continue
    currentFrame
    currentframe
    currentLabel
    currentLabels
    currentScene
    debugger
    default
    delete
    do
    double
    doubleClickEnabled
    dropTarget
    droptarget
    dynamic
    each
    else
    enabled
    enum
    export
    extends
    false
    filters
    final
    finally
    float
    focusEnabled
    focusRect
    focusrect
    for
    forceSmoothing
    framesLoaded
    framesloaded
    function
    get
    goto
    graphics
    height
    height
    highquality
    hitArea
    if
    implements
    import
    in
    include
    instanceof
    interface
    internal
    intrinsic
    is
    loaderInfo
    lockroot
    long
    mask
    menu
    mouseChildren
    mouseEnabled
    mouseX
    mouseY
    name
    name
    namespace
    native
    new
    null
    numChildren
    opaqueBackground
    override
    package
    parent
    parent
    private
    protected
    prototype
    public
    quality
    return
    root
    rotation
    rotation
    scale9Grid
    scaleX
    scaleY
    scenes
    scrollRect
    set
    short
    soundbuftime
    soundTransform
    stage
    static
    stop
    super
    switch
    synchronized
    tabChildren
    tabEnabled
    tabIndex
    target
    textSnapshot
    this
    throw
    throws
    to
    totalFrames
    totalframes
    trackAsMenu
    transform
    transient
    true
    try
    type
    typeof
    url
    use
    useHandCursor
    var
    virtual
    visible
    visible
    void
    volatile
    while
    width
    x
    xmouse
    xscale
    y
    ymouse
    yscale

  • Advance Action Replay Not Consistent

    Working with Captivate 5.5, I have created an Advanced Action designed to replay the current slide. It is attached to a REPLAY button that appears after the slide's audio is finished and the slide has paused.  The Execute Advanced Action is invoked "On Success" for my REPLAY button. The course content was built and being tested when I noticed that this Advanced Action no longer works.  The Advanced Action code has only two lines : (1) Assign cpCmndGotoSlide with rdinfoCurrentSlide (2) Continue. I have seen within this discussion group that someone also had this problem but it was resolved by duplicating the same two lines of code...I tried that and it didn't work for me.  The screen returns to the beginning of the slide but does NOT resume playing. 
    Thinking the slide thought it was still in a PAUSE state, I tried adding an extra lines of code before the Continue line of code: (1) Assign rdcmndResume with 1.  The problem still occurs.
    Any idea on why the slide is not playing after the REPLAY andr what I can do differently to make this work?

    Hi,
    These advanced actions are working at my end as well.
    Did you tried this with a sample project, a project with just 2 plain slides, add a button and then add this advenced action.
    See if it works.
    If it does, then we can check the project.
    thanks

  • Captivate 8 advanced actions not saving

    I just upgraded to Captivate 8 today and was attempting to create a conditional advanced action.  However when I save the action, it doesn't save so the action remains blank.  The advanced action was on click, image disappears, and user jumps to a different slide.  Like Jeopardy.  They answer the question and come back to a main screen where the original link image disappears.  Why won't it save?

    I don't think that's it.  I put together the scrip (which is a simple one, only 3 lines) and click "Save Action."  The save action button doesn't grey out or anything.  Then when I try to move to a different AA it asks if I want to save before leaving.  If I say yes, it says an AA with that name is already created.  But when I go to open the original script, it's blank.  I've tried renaming things, selecting different items, and am getting nowhere.  It's the craziest thing!

  • How do I use the same execute advanced actions?

    I am using captivate 5, windows 7
    I created a slide with several click boxes and images.  I name them, for example,
    Click Box A  Image A
    Click Box B  Image B
    Click Box C  Imsge C
    And perhaps Images D, E, F
    I created Advanced actions, for example,
    Show_Image_A - which shows A and hides B and C - and shows Image D
    Show_image_B - which shows B and hides A and C - and shows images D and E
    Show_image_C - which shows C and hides A and B - and shows Image F
    Then On Success for each of the click boxes, Execute advanced actions as below:
    Click Box A - Show Image A
    Click Box B - Show Image B
    Click Box C - Show image C
    Works fine.
    My problem:  I want to repeat this slide's actions again (and over and over) with new images, same actions of click boxes.  SO - I thought I could copy it and paste it where I wanted it.  I want to use it again later in the same project - and I want to be able to use it again in anothe project.  I was hoping NOT to have to rebuild the slide every time, but here's what I am seeing:
    The click boxes and images are in the duplicated slide - BUT they all have different names - no longer my named Click_Box_A, but Click_Box_<number>, etc each time I paste it has a new number.  SO - my advanced actions still say Click Box A, Image A, etc - and obviously they're not recognized here. SO - my actions don't work here.
    It is painful - and tedious! - to change the names of all the objects and then change the names in the advanced actions.  There MUST be a way to do this that I don't know about?
    Please can someone help me?
    THANK YOU!!

    Hello,
    You cannot copy an advanced action from one project to another, that is really a pity. Please, if you have time, fill in a feature request!
    If the actions are always similar: why not create a template with the advanced actions you mostly use and create future projects on that template. I do it that way for the advanced actions I'm using often.
    Lilybiri

  • Can I call a specific time of the timeline in an advanced action?

    Can I use the specific time of the time line to trigger an advance action? If I can what is the correct syntax to call the timeline information?
    eg:
    in a conditional advanced action
    IF
    Timeline - is equal to or greater than - 00:16   
    AND
    Timeline - is less than or equal to - 00:20
    ACTION
    Show - Image 21
    ELSE
    Hide Image 21

    Double post, see: Can you add Advanced actions to an image?
    My list with system variables will not really help, I'm afraid. My suspicion (and yours in the other thread) is that the OP doesn't understand the design of the Timeline.

  • Need help understanding why "1 is always equal to 1" is necessary in my Advanced Action

    I am using Captivate 7 and publishing as a SWF.
    I have an interaction that works, but there's one script that I use (which I found in a tutorial) that I don't understand the purpose of.
    The interaction is contained on a single slide where a user clicks two buttons in any order and a graphic appears after the second click. On each button I have a Conditional Advanced Action where I first check that it will always be true that "1 is equal to 1", then assign each variable with "1", then check that each variable was equal to 1 after which the graphic appears.
    The part that confuses me is checking if "1 is always equal to 1." Why is this script necessary in this case? Is it necessary because I'm including a Standard Advanced Action (assigning variables to "1") within the Conditional Advanced Action? Or is related to the fact that I'm doing everything on one slide (not using an On Enter slide event executing a Conditional Advanced Action)?
    Thanks.

    Perhaps it will help to think using different terms.
    If you need a script that performs a check against some condition, you need a Conditional Action. Maybe you need to show an image if button 1 has been clicked. And if button 2 has been clicked, you need to show a different image.
    Before checking to see which button has been pressed, you need to hide both images so that only the desired image is shown. So you need to perform the same action each time before checking some variable to take a specific action.
    This is where the "If 1=1" would come from.
    Each time the script is run, hide both images. Since the check to see if 1=1 will ALWAYS evaluate as true, the "ELSE" part will never be reached. So you would always perform the same actions just as a Standard Action would do.
    Perhaps if you posted some screen captures of your scripts, we might better explain it.
    Cheers... Rick

  • BUG:  Advanced Actions duplicated when creating NEW PROJECTS FROM TEMPLATE using Adobe Captivate 8.

    Need:  CREATE NEW PROJECTS FROM TEMPLATE using Adobe Captivate 8. 
    Problem:  NEW PROJECT (.cptx) duplicates the Advanced Actions originally configured within TEMPLATE FILE (.cpt.).
    For example: Template file (.cptl) advanced action "_initializeModule" gets duplicated as "_initializeModule1", "_initializeModule2", "_initializeModule3" within NEW PROJECT.  FYI, the original "_initializeModule" advanced action still appears.
    MAJOR BUG, what the heck is going on?!?!!!  Planning to deploy this template file to use for multiple courses with multiple users, this WILL cause epic confusion across the board.

    Similar problem, think they are working on it as well: when dragging a shared action from an external library to a slide or object event, and that action is using a parameter that was already created for another shared action, there will be a new parameter created which really screws up the shared action contrary to this problem. Tip: for the moment do not drag shared actions from an external library immediately to an event, but drag them first to the Library: Reuse Shared Actions in other Projects - Captivate 7 vs. 8 - Captivate blog

  • I'm having an issue displaying a button using advanced actions and rollover slidelets.

    I'm having an issue getting a button to display after the learner places his mouse over three different rollover slidelets which are all on the same slide. I created three variables and assigned each to the rollover slidelets. I also created a conditional action that I assigned to the slide. The variables are set to zero and then the action is to assign the variable with 1 after it's rolled over. The conditional action says that once all three variables are equal to 1, show the button and continue. Unfortunately the button is not displaying after the three rollovers have been viewed. Any insight?

    I can only suspect what is going wrong, it would have been a lot easier if you did show those actions.
    My suspicion is due to this sentence '... a conditional action that I assigned to the slide'? There are two slide events: On Enter, and On Exit. Read more about those events:
    http://blog.lilybiri.com/events-and-advanced-actions
    Those events can trigger an advanced action but only at that frame: first frame (On enter), last frame of the slide. But you expect the button to appear when the three rollover events have occurred? That means the condition has to be checked by each action triggered by the rollover events. Have multiple examples on my blog for such use cases, latest one was:
    http://blog.lilybiri.com/blog-after-posterous-clickclick
    Shortly:
    Use the On Enter event of the slide to reset the three variables to zero, that will be a standard advanced action with three Assign statements (this is not necessary if you never expect the user to return to that slide)
    Use each Rollover event to trigger a conditional advanced action with two decisions:
    First decision 'Always' will be a mimicked standard action, and toggles that variable to 1
    Second decision 'Checkit' will have your condition to see if the three variables are equal to 1, if Yes show the button, if No, nothing has to happen (or maybe Continue, depends on setup)
    Lilybiri

  • Cannot Edit Advanced Action (Captivate 5)

    One of my projects has a conditional advanced action that Captivate will not let me edit. I can select its name in the "Existing Actions" drop-down list in the "Advanced Actions" window, but then neither the "Action Name" field nor the other fields in the window get populated with the values for that action.
    I tried restarting Captivate in case that resolved the problem, but it did not.
    Can anyone suggest a solution?

    Hello,
    About your point 1: do not even know what you are pointing at, never keep track of that kind of numbers (not an accountant) because I feel them being unimportant. I'm happy if I can help some users out with issues and do learn a lot myself by trying to solve problems.
    Thanks for introducing a feature request. Of course I have done that multiple times concerning advanced actions. I also would like to have a search and replace function (for object ID's principally), to add comments, to print (not possible directly now) and to be able to construct a library with actions that can be opened like the external library of another project. Those are only a few of my long wish list.
    I'm glad that my idea for re-using scripts with a template has at least one 'follower'. If you have time, would love to see your comment on that particular blog post, could be inspirational for other users. Here is the link:
    Template for reusing scripts
    Lieve

  • Repeat advanced action over 3 slides

    Hi there,
    I have an advanced action that shows an image and some text when entering a slide depending on the users selection in a drop down box earlier in the program. This works fine, however I would like this same result to show on 3 different slides.
    I though setting the image and text to "show for rest of project" and using the same advanced action on the slides would work - but no!
    Can anyone help? It is going to take so long to copy all the images and text, rename them and then copy and edit the advanced action to suit!
    Thanks

    This is an old post, and not everything is valid anymore:
    http://blog.lilybiri.com/playing-hide-and-seek-with-captivate-objects    Now you can hide/show an object timed for the rest of the project anywhere.
    You have 7.0.1.237, which means you can have shared actions. And this will be worthwhile since you have to use it on multiple courses.
    For reasons of file size, and also because it keeps the same ID, I would plead to show/hide the same group (hope you grouped the text + image).
    You create an conditional advanced action (one decision for each choice from the dropdown interaction), as you have already done. After testing on one slide (to see if it is OK), turn it into a shared action, and use that On Enter for each slide where you want to see the group. I know, you'll have to choose parameters each time, but a shared action is not adding to file size as do duplicates of advanced actions and you don't have to type in new names for the advanced actions on each slide.
    Create a standard advanced action, that hides all groups, turn that it in a shared action as well, and trigger it On Enter for each slide where you need to hide the objects. No need for a conditional action there.
    Lilybiri

  • Query about User Variables and Advanced Actions

    Hello,
    I am creating a clinical-based project using Captivate 5.I have to give you quite a bit of information before I can pose my questions so please bear with me.
    Users have to select multiple options from a checkbox widget (shown below).
    Each options, for example 'location' is associated with a variable for example 'hpi0' (See below):
    Each option has addtional data associated with it:
    Location = hpi0 (user variable)
    Location data = hpi0data (user variable)
    Please see the screenshot below:
    Notice in the image above that I have created a conditional advanced action - if the user selects Location (hpi0) on the checkbox widget, the data associated with that variable will be presented to them. That data (e.g. location data or hpi0data) is presented in a caption text box in the following slide. (see below)
    I hope I have given you enough information.This is a complex project and this is just one of my many problems.I have had to create over 200 hundred user variables and more than 6 Conditional Advanced Actions in one project. The project is becoming unstable. So here are my queries:
    1) Are there limits to the amount of user varables I can create in a project?
    2) If so, how can I re-use the user variables I have already created? Otherwise I will have to divide this project into 3 parts and I want to avoid doing that.
    3) Are there limits to the amount of Advanced actions I can create in a project?
    Again  I am using Captivate 5 for this project.
    Any assistance, tips or tricks would be greatly appreciated. I am learning captivate as I go so If there is away to streamline this process, I am open to any suggestions.
    Thanks
    Tinukwa

    Hello Tinukwa
    This is indeed a challenging project, and although I did create a lot of projects with advanced actions, they were never that size. You have to listen to Jim's words about using some widgets, he is a widget specialist which I'm not. I do not know if you are aware of the fact that the checkboxes widget coming with Cp was extended by Jim? He offers it on his website, I blogged about this extension and suppose you do know my blog. About the advanced actions, perhaps I could help but only screenshots are bit limited. So I wonder if either I could have access to the file and/or if we could have a Connect session eventually?
    First intuition tells me
    we should look to re-use variables, but I do need more information; do you need the vars XXXXdata somewhere else later? If not, perhaps only to display it you could use one variable; now you keep the information chosen by the user in 2 variables: hpi0 and hpi0data (isn't that redundancy?)
    and by choosing labels for variables, actions and objects in an intelligent way reduce the editing time because you'll need a lot of almost identical advanced actions. Usually I do a lot of reflection before starting to create labels, variables and actions.
    About re-using what you already constructed: as I explained once, a template is the only way to be able to re-use a script at the moment. And Kevin Siegel discovered (so gratefully for that) it is possible just to change the extension of a standard CP file to cptl to have a template.
    Lilybiri
    PS Jim suggest also to split up the project? Here I'm not sure if that is really needed.. should have been the case for previous versions.

  • What kind of variable / advanced action would I need to do this?

    Captivate 8.
    I have a menu slide (of sorts) to allow users to choose which of four topics they want to explore first. It has 4 graphics with click boxes. Each click box jumps to a specific slide and the the user progresses through that section. At the end of that section, the user is automatically brought back to the menu slide, where they could then choose their next topic.
    I want them to be required to complete all four topics (in any order).
    When they have completed all four topics and are bounced back to the menu slide for the fourth and final time, I would like that slide to then have a button on it that they would click to move to the conclusion slides for the module.
    Thanks advance for the shove in the right direction.

    Another time, why is Search in this forum not working as it should. Have posted same answer at least 10 times.
    Have a look at: Captivate 8 - First Adventures - Captivate blog   where I use shared actions to create such a dashboard.
    First tip: you don't need a click box + graphic, because you can use a shape button filled with that graphic:, see Turn an Image into a Button - Captivate blog
    You need to create as many user variables as you have topics: v_one, v_two, .... with a default value of 0. They will be toggled to 1  in the actions.
    For each shape button (or click box if you really want to use two objects instead of one) you'll need a conditional advanced action with two decisions. I will label the button that has to appear after each topic has been visited at least once, Bt_Next. It is initially hidden.
    First decision of the advanced or shared action is a mimicked Standard action:
    'Always'
    IF 1 is equal to 1
       Assign v_one with 1   for the first topic, for a shared action v_one will become a parameter
       Jump to .... slide_11     slide to jump to, will be another parameter
    Second decision will check the value of the variables, and show the Next button if they have all the value 1
    'Checker'
    IF v_one is equal to 1  AND
        v_two is equal to 1 AND...
    Show Bt_Next
    BTW, long time ago I published this solution (with advanced actions) with a more detailed explanation: Template for reusing script? - Captivate blog
    Now it is no longer necessary to create a template to reuse advanced actions, you just create shared actions.

  • Display selection of user variables later on in project - can't get advanced action to work

    Hi all,
    I'm working on a sales training with Captivate 5, based on PPT. I want to do the following, but can't figure out how to design the advanced actions to do it:
    The learner is asked to choose 1 of 3 products he wants to work with (ok, that's easy).
    For that product he's asked to provide 10 features in TEBs (so far so good, 10 user variables created for each feature).
    As a next step, he needs to choose the top 3 features with which he wants to work further. The chosen 3 display a check mark when the respective clickbox is clicked, when he chooses the 3rd, a 'done' button & a caption 'click here...' appear. Advanced actions working ok, see below what they look like. If there's an easier way to do that, please let me know - took me hours to get this to work!
    One issue I face is, that I don't know how I could allow the user to change his choice, i.e. 'un-check'. Currently, checked is checked - no way for the learner to change his mind.
    But even more importantly:
    I need to display the content of the 3 checked/selected variables at a later stage in the project. So, say the learner choses feature 2, 3 & 6 as the most important by checking the respective clickboxes behind the displayed variables (v_neo_f1 to f10) - how do I need to change my advanced action, so that I can generate variables v_neo_chosen1 - 3?
    As you see in the screenshots above, I've tried to do that by creating an additional variable for each of the 10 features and assigning the value 1 when it's checked. That way I could check later in the project, which of those variables has the value 1 - but I don't know how to link this variable (v_neo_f1_check) then to the variable for the feature in which the text I need to display is stored (v_neo_f1).
    This got me a major headache & hours of frustration already - can any of the guru's help me out here?
    If anybody is interesting in creating the necessary actions for me at a reasonable rate, please let me know. I'm bordering desperation.
    Happy new year,
    Anja

    I'm not sure I fully followed exactly what you are trying to do, but essentially what I got from your post is that its pretty complicated and you want to create new variables on the fly.
    For that sort of thing I would suggest that advanced actions may not be advanced enough for what you are trying to achieve and that you should go for a Flash Widget instead.
    For anybody getting started on widgets, I throughourly recommend the Widget Factory by the Widget King, which can be found at:
    http://www.infosemantics.com.au/widgetking/
    I also strongly recommend the following video:
    http://www.adobe.com/cfusion/event/index.cfm?event=register_no_session&id=1719643&loc=en_u s
    Alternatively, as Lilybiri suggests, there may already exist a widget that does what you want it to do.

  • 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

  • "Download Error" message in desktop app

    Had an issue with updated payment info not taking a little while back. Found out when the desktop app gave me the "download error" message and to contact customer service. Got the billing info squared away but the download error message I'm getting i

  • Yosemite installation made my MacBook very slow. Need some help

    Hi all. I read different threads in his direction but didn't find solution for me. I hope that here somebody could help me. Below I paste results from Etrecheck: EtreCheck version: 2.1.8 (121) Report generated February 13, 2015 at 9:40:56 PM GMT+2 Do

  • PDF Export Fonts Appear Jagged

    Using the built in Pages templates, PDF export documents seem to have proper anti-aliasing for some fonts but none whatsoever for others. In a resumé template the top right block is not aliased, nor are the headers anywhere else in the doc. However t

  • 'Person Type' and 'Organizational Unit' symbols in BPMN?

    What is the purpose of 'Person Type' and 'Organizational Unit' symbols in BPMN diagrams? If I place any of those two into my diagram, I can't connect either to anything else. I think those symbols simply don't belong in BPMN. My wild guess would be t

  • Upgradation frm 3.0C to 3.5 ? what are complexites and pain areas?

    Hello  BI's, We are upgrading the bw 3.oc to 3.5 version so wat are the complexites and pain area will come across and what changes will takes place during upgradation. Give me a Correct info regarding this i hav to update it to my client. Will assig