Question regarding use of advanced actions in drag&drop interactions

I have trouble figuring out sth in Captivate.
I am creating an exercise where the user has to drag specific waste items into the correct waste bins. What I want to do is to show the Next button after the user has completed the task.
There are 6 waste bins, 5 bins have two correct drag sources, 1 bin has 4 correct drag sources.
I have created 6 variables, one for each of the 6 waste categories, and given them all the initial value of 0.
If the user puts the correct waste item into a waste bin I have stated in the "action" under "Accept" for the drop target that the variable for this bin should be incremented by 1.
Further, I have created an advanced action that states that if var_waste_bin_a = 2, then the Next btn should be shown.
I had thought that each time a waste item is accepted into waste bin a, the variable should be incremented by 1 - thus making the Next btn visible when the two correct drag sources are in place?
Can anyone help me out on this? Would be much appreciated...
Kind rgds
Casper

Hi!
Thx a bunch for your answers, truly appreciated! Based on your tips I figured it out.
The problem with my advanced action was that it caontained the Expression var_paper = 1+1 ( I had thought that this would assign the value with 1 the first time the action was run, and then increment by 1 for each further time)
I changed the Expression to var_paper=var_paper+1 and for some reason this worked just as I had planned.
Not sure if I totally understood the logic, but it works just as wanted now
Thx again!

Similar Messages

  • 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.

  • Adobe Captivate how to display number of attempts in Drag Drop Interaction slide

    Adobe Captivate how to display number of attempts in Drag Drop Interaction slide
    i have set attempts to 3
    on each failure i want to show on slide how many attempts used
    and how many correct answers

    Hi Sreekanth,
    You understanding is correct.  But,it is not even necessary to show the correct sources on correct targets along with the feedback... the correct option numbers in  incorrect feedback will do.
    reg point number 3, if I revisit the slide, the feedback are still displayed. For example, in this case, I added a correct feedback, but when I revisit the slide, the feedback was still appearing. So I added this action "On Enter"  to "Hide" this success caption. So that is why i told specifically that none of the feed backs should be there when i revisit the slide.
    Sorry Srikanth - I am not familiar with the advanced actions or variables. I have just used some from referring the examples from net. that's all

  • Can you open multiple files using an advanced action?

    I have either Captivate 5.5 or Captivate 7 to work with. Currently my project is in 5.5.
    I have a button that I want to open three PDF files. I created an advanced action, selecting Open a new file/URL and selected the file name. Currently they are set to open in a new window.
    When I test the button, only one file opens.
    If I set one to open in a new window and another to open in the top window, I lose the course but get two to open.
    Is there a way for me to open each of these files in a new window using the same button?

    You could do it by executing javascript:
    in Captivate: open_win()
    add this to the head section of your html page that loads the captivate object:
    <script type="text/javascript">
    function open_win()
         var url1 =" http://www.google.com";
         var url2 =" http://www.yahoo.com";
         var url3 =" http://www.bing.com";
         window.open(url1);
         window.open(url2);
         window.open(url3);
    </script>

  • Using an advanced action to display an image (or button) on each slide.

    I have an advanced action that evaluates certain criteria. The advance action is called from several different slides within the presentation. Is there some way that I can get it to display a set image if the criteria is met? It seems like I would have to write a new, slightly different advanced action on each slide to "show" the image on each slide.
    Is there some way to share an image (or button) so that the advanced action can make it appear, no matter what slide you are on?
    Let me know if I need to provide further clarification. Thanks!

    Technically your advanced actions are only allowed to show or hide images from the slide where they are actually executed.  So an advanced action executed on slide 3 for example, will not be able to show or hide an image on slide 5.
    However, what you can do is place the image on one of the earlier slides in the project and then set it to be timed for Rest of Project.  This allows you to SHOW or HIDE the image from any slide later in the project where your Advanced Action is executed.

  • How can I get quiz scripts to pull properly.... Using CP 6 with Infosemantics Drag & Drop Widget

    I'm modifying a course which is composed of 4 mini-quizzes with each section having a results slide which gives you your cummulative score. This course was created by my predecessor. The course was previously published, loaded to our LMS, and used by new hires to test their knowledge and abitliy to locate information. In it's original state the course works and the Results slides score and coaching messages display as they should.
    Now that I need to update the course, I've discovered that the first section was built using a Drag&Drop widget. I didn't make any changes to the section built using the widget. Unfortunately, the Results slide for this mini-quiz section has become a problem when the user gets a score of 0 or 10 points. Instead of getting a message that reads, "Keep Trying!" (0 points) or "You're Doing OK!" (10 Points) they get a "Perfect Score!" message.
    Notice the scoring is correct for the section it's the messaging that's wrong. Since this is only happening with this one part of the quiz I'm assuming that there could be something wrong with the widegt.
    Any input would be appreciated.

    Rod Ward was very helpful in aiding in the fixing widgets that outdated due to a version update. However, this fix does note resovle my original problem. In short, the widget Drag/Drop was never the problem with the scoring/scripting issue. Can anyone give me insight as to why a course that has used by our learner population previously would stop functioning properly.
    Reminder:
    1. I made minor edits to the course in question. none of my edits impacted the section that is not functioning properly.
    2. Currently, learners would get a "Perfect Score" script if they scored 0, 10, or 30 points. "Perfect Score", in this first section should only display at 30 points while 0 points should yield "Keep Trying" and 10 points should yield "You're Doing Ok" responses.
    Any Thoughts!

  • Captivate 8 responsive project with advanced action to show/hide interaction

    I'm finding that responsive projects in captivate 8 don't properly show interactions upon show/hide. Is anyone else having this issue and knows how to fix it?
    I've tried to not group items together but the interaction still doesn't appear.
    I've tried placing the show hide information into an advanced action instead (actually my project requires this) and it doesn't work, nor does it work like in the screenshots below.
    I've tried to duplicate this in a non-responsive project and it works which makes me think this is only related to responsive projects.
    Thoughts? Any ideas would be helpful.  Thanks!

    I believe the problem is still present in Captivate but I've read a post on these forums that went some way to explaining what is happening and a possible workaround. The issue is in the method that Captivate writes HTML5 and the order in which it displays elements on the canvas. I had a quick look to try and locate the post but without any luck. The person who posted it did give instructions on how to resolved the issue 'relatively' simply by modifying the HTML5 code once you had published the files. I did say 'relatively' simple because this solution does require some knowledge of HTML5.
    Sorry that I could not be of much more help and I do hope that my recollection of this possible solution is correct.

  • A question regarding using a JDBC class to connect with cloud service database

    Hello,
    I am currently working on a small scale cloud service report where the company I chose is obviously Oracle. My question is regarding the cloud service in the following way. I was doing my report with the free trial until it just came to me that
    why not to do a small one class program with my netBeans or Eclipse that uses JDBC but I am not sure what username, password and the url to use in the connection to retrieve, manipulate and store values. Can somebody help me please if this is possible or not?
    edit: Anyone please? I have a deadline in 15.8. and could create something great until then if I get the anwser in few days

    To correct my question, I already have the oracle account and I created the cloud service trial account with database and java section.

  • Questions regarding using the .monitor command to retur a animated image and we would like feedback to a designed webpage that is monitoring a 5kW windturbine:)

    I'm embedding a front panel image in an existing HTML dokument. I would like to use the command .monitor in the URL together with the refresh command so the VI automatic will reload every 20 secund. This actual work, but simultaneous I want to have the possibility to refresh manually so I don't have to wait 20 sec before new values is shown in the display. Is this possible to do?
    Another question: Since the real time display updates 1-2 times a secund the command .monitor is used to get a animated picture of the Real Time Display.
    There are several ways to add animation on to web pages. The techniques used h
    ere are the �server push� and �client pull�which makes the browser repeatedly reloads a changing inline image to provide crude animated sequences. This is not the most efficient way as this result�s in an image being re-transmitted for each frame of the animation. The command .monitor with the attribute refresh and lifespan in the URL trigger this �server push� and �client pull� techniques.
    I use this automatic refresh uploading of the display so that it each time shows different values, is this called crude animation?Then I'm wondering what I'm suppose to use the command lifespan to?I can't see the use of it in my display.....?
    link to the webpage so you can have a look at the display:
    http://134.7.139.176/.monitor?Real%20Time%20Performance.vi&refresh=20
    This is a project that I'm working together with another Norwegian friend. WE are very happy for feedback on our web page and displays go to: http://www.ece.curtin.edu.au/~peersena/ if you would like to view itThanks

    Annis,
    One of the other things to keep in mind is that the generation of an image does take some computing power so having the generation and the acquistion on the same machine is not always ideal. If you're using the machine that is publishing the front panel just to collect data it's not so much of an issue.
    If you really want to monitor in "Real-Time" using Remote Panels (requies LabVIEW 6.1) is your best option. This posting has more information on using Remote Panels and links to some live examples:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000C0660000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=web+control&USEARCHCONTEXT_QUESTION_S=0
    Remote panels makes it possible to control the application remotely as well.
    With .monitor the only way I've been able to manually refresh is to "Shift+Refresh" on the browser.
    Regards,
    Kamran

  • A question regarding using Myriad Pro as a web font...

    Okay so this is a pretty straight forward question (I think)...
    I've been using sIFR to replace many of the typical web fonts on the sites I build since much like everyone else I'm sick of being restricted to using only certain fonts.
    Myriad Pro is one of the many fonts I really like for building websites. I discovered recently by accident that Myriad Pro (and a few other variants in the Myriad Pro family) are part of Adobe Reader. This means that ANYONE who downloads Adobe Reader has Myriad Pro installed on their system and probably doesn't even realize it.
    Having discovered this it has come to my attention that there is a decent possibility I could use CSS and have Myriad Pro as a web font without even having to render it using sIFR. The problem is that anyone who doesn't have Adobe Reader installed wouldn't see the nice Myriad font.
    So my question is what do all of you guys think about this? Does anyone have any actual numbers in regards to how many people actually have Adobe Reader? If it was a higher percentage like 90% then I think this would be a safe solution.

    I don't know how many people use Adobe Reader, although I would think it's a fairly high proportion. Perhaps not as high as 90%, though. However, there's nothing stopping you from using Myriad Pro as the first choice in a font-family declaration. Browsers use the first available font. You could use something like this:
    body {
      font-family:"Myriad Pro", "Gill Sans", "Lucida Sans", Verdana, Geneva, sans-serif;

  • Question regarding using of Explain Plan

    Hi. I'm new with Oracle Queries so I have a little obstacles about understanding. I want to learn how to use Explain Plan feature from Oracle
    I am using Oracle 9i as back end .
    Please tell me how can i use feature of Explain Plan Feature for the below query.
    SELECT * FROM emp WHERE empno = 7369
    Thanks in advance.

    [email protected] wrote:
    Hi. I'm new with Oracle Queries so I have a little obstacles about understanding. I want to learn how to use Explain Plan feature from Oracle
    I am using Oracle 9i as back end .
    Please tell me how can i use feature of Explain Plan Feature for the below query.
    SELECT * FROM emp WHERE empno = 7369
    Kiran,
    Firstly , before anything else, I would suggest to change your handle to anything else and remove the email id from it. Its not good to have the id displayed in any public forum.
    About the question, unfortunately, its not that easy to answer. To understand explain plan and how to use it, you need to understand that algorithm/mechanism, whatever you feel like saying, that generates it. Because, explain plan is just the outcome of that mechanism, a final product, its the result of some inputs given by you in the form of your query, predicates, joins and their types and that all bring up the explain plan. Explain plan is basically the constitution of some steps which are used /fixed by optimizer to run the query. I would suggest that you read this page from cover to cover to understand some of the steps and their meanings which are shown to you in the plan. I am giving 10g link as this is a more better version of optimizer than the previous ones and I would suggest you to do experiments on 10g only.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/optimops.htm#i21299
    And I would suggest that you collect these following books and start reading them. I haven't yet found any thing better than these books.
    [Cost Based Oracle Fundamentals (Jonathan Lewis)|http://www.amazon.com/Cost-Based-Oracle-Fundamentals-Experts-Voice/dp/1590596366]
    [Troubleshooting Oracle Performance(Christian Antognini )|http://www.amazon.com/Troubleshooting-Oracle-Performance-Christian-Antognini/dp/1590599179/ref=sr_1_1?ie=UTF8&s=books&qid=1240078634&sr=1-1]
    [Effectuve Oracle By Design(Tom Kyte)|http://www.amazon.com/Effective-Oracle-Design-Osborne-ORACLE/dp/0072230657/ref=sr_1_1?ie=UTF8&s=books&qid=1240078698&sr=1-1]
    It would be real long journey before the mazes of optimizer and explain would be clear so make sure you have patience as well.
    HTH
    Aman....

  • Question regarding using links in Discoverer 10g

    Hi All,
    I have a workbook which uses links. The 1st worksheet is connected to the second worksheet using a simple parameter and link. It works fine.
    But when a users saves this report and tries to use the link, Discoverer tries to open the work sheet from the query which I had created and not the one from the worksheet which the user has saved.
    I am not sure if that the regular feature of the Link functionality or if there is a bug/workaround.
    Is it possible to set these reports to open the worksheet from the saved workbook instead of the original one.
    Any help is appreciated. Please let me know if I have confused you.
    Thanks.

    Hi,
    I've had a look at this on Metalink and there seems to be lots of different bugs with manage links on 10g.
    We build our reports under one user and share it with all other users, easier to manage. We've built some reports exactly has you have and it also works fine. I'll try to resave this as another user and see if we have the same problem.
    For info there are links to several different bugs related to lots of scenarios Here (You'll need metalink access).
    Couldn't find your exact problem in there so you want to raise it with Oracle.
    Regards,
    Lloyd

  • Question regarding use of Log and LogFactory in Servlets

    Hi,
    I saw the following code in an application and I would like to know where the log information would be stored. It appears that the log information is not displayed on the screen and was not able to find out where the log files are. The application was created using NetBeans and was using Tomcat. Thanks in advance.
    import org.apache.common.logging.*;
    public class Test extends HttpServlet
    private static final Log log = LogFactory.getLog(Test.class);
    String theHost;
    String theSource;
    public void init (ServletConfig config) throws ServletException
    super.init(config);
    log.info(�debug Enabled: �+log.isDebugEnabled());
    ServletContext context =config.getServletContext();
    this.thisHost=�/Test/�+config.getServletName();
    etc. etc.
    log.info(�thisHost:�+this.thisHost);
    log.debug(�Source:� +theSource());
    etc, etc.
    }

    It depends on what logging system you have set up.
    Commons.logging is an abstraction layer above logging components. It allows your code to use a variety of logging systems. However those logging systems have to be set up and configured by you. This can be via system properties, properties files, XML config files (depends on the logging system and how you use it).
    So you need to figure out which logging system is being used and then configue that system to write the logs
    matfud

  • A question regarding using a Dreamweaver site to manage a WordPress site?

    Using Mac OS X I have installed and configured MAMP to edit a WordPress site.
    I have setup a DW CC site to help with this editing, and all files are behaving as expected.
    I would now like to take this to the next level.
    As I develop the site plan for the future, I am unsure of the local folder structure I need to use if I want to use the capability of the SQL database to manage logins and landing pages.
    In other words, do I put the root folders for other html sites in the same root directory level as the WordPress folder?
    Can I then (with some individual tweaking of php files and the database(s), use this organization method to author a number of standalone sites with unique logins?
    I hope this question is not too vague.
    Thanks

    Sounds to me you want to use the multi-site option in Wordpress. That way you can setup a network of (related or unrelated) sites in Wordpress, and assign different logins, themes, and so on, to each site as well.
    Study the official documentation before you begin:
    Create A Network « WordPress Codex
    In this case you should stay away from any manual mysql tinkering - no need for that with multisites in Wordpress. Of course, you can still use DW to edit the theme files, if you so wish.
    For more multisite user control, check out plugins like:
    http://premium.wpmudev.org/blog/7-plugins-for-easier-wordpress-multisite-user-management/
    If you need ultimate control over user management, payment options, and so on, you may want to install S2 User Management (but it is a complex one to learn).
    s2Member® | A powerful (free) membership plugin for WordPress®

  • Question regarding using Lightroom Web Module and Zenfolio

    I use LR3 and like the galleries I can make in the Web Module.  If I use Zenfolio as a web hosting service, can I upload or export my photos from LR to Zenfolio and use the galleries I create in the Lightroom Web Module,,,or do I need to use the existing gallery templates in Zenfolio?  If that is the case, other than using Lightroom to upload photos, is it's Web Gallery Module superflous?
    Thanks,
    Matthew Kraus

    Matthew,
    If you are asking if you need to use LR's Web Module to export images to Zenfolio, then no you would not use the LR Web Module but rather use a plug-in to export directly to Zenfolio.  Or you can just export to your local HDD and use Zenfolio's upload module to grab the files from your local drive.
    Jeffery Friedl has a nice LR plug-in for SmugMug so I am sure his Zenfolio plug-in will work nicely as well:
    http://regex.info/blog/lightroom-goodies/zenfolio
    It's free, sort of, after the trial period, like 45-days as I recall, there is a limit on the number of files which can be uploaded.  When the trial expires if ya like it you just donate any amount and get to upload any number of files as Zenfolio allows in a session.
    Does that help answer your question?

Maybe you are looking for