What order to perform advanced Actions in?

I have a simple tip that drives me crazy action.   Captivate 7.

AdvancedAction.png

The jump shift occurs before shares of effect to apply and Audio play can occur.  The skin works obviously, because when I return to this slide, it is hidden.  Audio tha never played.

How can I delay the jump to slide until the previous actions happen?

I'd appreciate any help you can give!

Mister C.

Hello

The peak action is carried out totally in sequence, but since you have a jump to as a last resort, you will never see the applied effect because Captivate reads and executes all much faster than the duration of the effect. Moreover, since you also hide for that object, even if you could delay the jump effect cannot be seen on a hidden object game! Not sure on the audio - should have to verify - but very sure about the effect if this effect should be made on the original slide.

There is no way to delay action, but without doubt, you can use the navigation microphone. Can you explain first how to trigger this action? And my correct understanding:

  • on the original slide that you want to apply an effect
  • on this same blade, you want to have an audio played
  • When has the object to hide - after effect?
  • When he played audio, effects were seen is hidden, do you access the slide of other

Lilybiri

Tags: Adobe Captivate

Similar Questions

  • Is there a way to set the order of the advanced actions?

    Hello.

    I try to set a peak action where an effect is applied to several objects, and then it climbs to a slide. Is it possible to define the action to make the jump from slide happen after effects?

    Here is a screenshot of the demo of what I'm looking for:

    screenshot3.jpg

    I want each box of click to zoom out until the slide jump to another slide and the other 3 characters.

    I use 7 Captivate.

    Thank you.

    I have created an example, but used CP8, there will be a small difference for you in CP7. Those are the steps:

    • Create a variable user corresponding to each image that will follow if that one is clicked, a Boolean value with the default value of 0, branded the v_one, v_two... v_four
    • as I suspect you return to this slide, you need to reset all Boolean values enter; can be done with a tip action that affects 1 to each of the variables and don't forget the Continue statement as well
    • Make sure that the continue button has no suspension, and that the boxes to click on a break at 1 second before the end of the slide (1 second is the default duration of change of scale 0, what is the zoom effect)
    • I created a joint action for the areas of click, but since you can't define a variable as a parameter, you may use duplicates of the advanced actions:
      • Assign the v_one with 1
      • Apply the effect Image... Balance for x and Y, the value 0
      • Apply the effect Image... Balance for x and Y, the value 0
      • Apply the effect Image... Balance for x and Y, the value 0
      • Continue
    • Then created a conditional advanced action on the exit of the slide, with many decisions that you have variables, checks each variable and jump on this slide
  • No matter in what order I perform changes?

    The Cambridge to color site recommends a very particular workflow when editing photos jpg. This applies also in Photos, or the app optimizes the order of changes? For example if I adjust the color * then * adjust levels, which will give slightly different results for first level * then * color?

    Related: if I apply an adjustment of the color of the picture X and then switch to the photo, I guess that a jpeg of X is saved? If I then go back to X's picture, it opens this same jpeg? And finally, if I may apply a level and then proceed to photo, is a X more saved jpeg image? I ask because there is a small loss of quality that happens with every new save/open, and I think the sequence of changes in the way that involves from Cambridge in colour.

    In which case it is important, I El Capitan & Photos fully updated, on a mid-2010 27 iMac "with 16 GB of RAM.

    Photos for Mac applies all changes to the original image file.  If you have a sequence of changes made, the final image will be made by applying to the original image of the master.  The sequence of changes must only question, if you use using photo editing extensions, because they will create new original intermediate files and all the other changes made in Photos apply to these intermediate files. While the sequence is important, and I would follow the list in the article you have linked to.

    But you can try it for yourself: duplicate a picture in the pictures before you start to edit and apply the same changes on both copies, but in a different order and export the photos that result in the highest possible quality. Compare the exported photos.  When I did, I could not see any difference, as long as I don't have use photo editing extensions.

  • Perform multiple Actions on a slide

    Hello

    I'm at the end of the development of a project in Captivate 5.5. It is a heavy project advanced Actions. I found a situation where I have to add a tip action to each page (at least I think I do).

    Our LMS (Saba) performs a bookmarking feature, but it has no variables. So when a user leaves and enters the course, the checkmarks to completion that I put in place with the Action Variable is more 'show' because the variable is now = 0 not 1.

    So, my thougt is to run a tip to enter each page action. It's no big deal to expect...

    I have more than 30 slides that have stock advanced existing press. Is it possible to tell captivate to perform advanced action A and B? Or do I have to add all conditional Actions of B to A. I hope that not because there are four conditions in B that I will have to add each of the some 30 other advanced Actions.

    Thanks for your help,

    Susan

    No way to call another tip action, among the many feature requests, I want once appear.

    In addition, you can only add new decisions in a conditional action at the end, another request I connected several times in order to insert a decision and reorganize decisions. Is what you need to add a standard action simulated or is it a true condition. Because there is the another tedious workflow that you cannot copy a total of decision (condition + THEN + ELSE) so... Another one of my long list with pray... sigh

    If explain you exactly what needs to happen, maybe I could have some advice to limit work?

    Lilybiri

  • JavaScript for loop to execute Advanced Actions - execute Javascript does not?

    I use a loop to check the value of a Cookie.  When I add this using Execute Javascript it works fine but I want to run with certain other actions, if I want to use Of execute advanced Actions. When I add this coded to an action to run Javascript in the breast to perform advanced Actions code disappeared if I open the Script window again once.  I try to remove the code for loop in bold below and then the remaining code remains.  So I think that the problem must be with the loop for, but I don't see anything wrong with this code and I have, as I said that this code works fine if I use Javascript to run on its own. I've attached a video clip below to show what I mean.

    var task1_value = readCookie ("task1");

    function readCookie (name) {}

    var nameEQ = name + '=';

    var CA = document.cookie.split(';');

    for (var i = 0; i < ca.length; i ++) {}

    var c = ca [i];

    even if (c.charAt (0) ==' ') c = c.substring(1,c.length);

    If (c.indexOf (nameEQ) == 0) return c.substring (nameEQ.length, c.length);

    }

    Returns a null value.

    }

    I found that window JavaScript of CP does not like loops.

    Your best bet is to put the function in an external JS file from the top of the page. I always run scripts in an external file. Really helps debug that you do not have to republish Captivate. Just change your code and refresh the browser. If you use external file you can store all your functions there.

    I would also look into using the local storage instead of cookies. Very easy to implement and you can store a ton of information.

    Local storage - dive into HTML5

  • In what order Ironport checks incoming mails / outgoing

    Hi guys,.

    I can't find any document about this one. In what order does Ironport checks / analyze / check incoming emails?

    Considoring Ironport has these controls enabled on a mail policy;

    1 anti-Spam

    2 anti-virus

    3 HAT and RAT

    4 Senderbase reputation score

    5 outbreak of filters

    6. content filters

    7 SPF

    and

    8 anti Maleware protection and file analysis.

    Why would I ask you this because someone asked me why the emails were blocked by anti-spam instead of SPF. And is it possible to block incoming emails spoofed by "own domain name but different IP address" from the outside by SPF instead of other policies? Or is it because the Ironport shall follow the order?

    Is there one better way other than creating a new policy - content SPF above default to achieve policy filters? Because I'm afraid if I create a new policy specifically for SPF above default policy and when a mail to has an SPF record checked but a virus then default policy does not have a second control and the e-mail will be sent. Am I wrong?

    Thank you all in advance

    Hello

    The pipeline of e-mail flow is explained in detail in the final user's guide Chapter 4

    http://www.Cisco.com/c/dam/en/us/TD/docs/security/ESA/esa9-7/ESA_9-7_Use...

    In short the email circulation in the appliance as below

    .
    Email-> SBR-> HAT-> SPF/DKIM / DMARC-> RAT->-> anti - Spam-anti-virus-> WAP-> content-> outbreak Filters > filters, Message filters

    Please check SPF note is performed early in the pipeline, but a decision will be made only based on message/content filters created for the SPF verdict.

    An email would be analyzed by all engines except where a final decision (such as bounce, drop) is encountered. Put in quarantine is not a final act and an email would be sent only to quarantine at the end of the line of treatment after that scanning everything is finished. This is why an email with the action of the SPF filter quarantine could again until the end of the spam quarantine based on anti-spam verdict.

    You will need to determine what analysis you want to perform and to be bypassed for those emails and make changes accordingly.

    Thank you
    Libin venet

  • Destination folder access denied. You need permission to perform this action.

    OK, I'm absolutely sick freaking that. I am logged on as administrator, and there are some files that I can't remove everything. I get the message "Destination folder access denied you need permission to perform this action."

    Why the hell do I need permission? I am an administrator and it's MY computer!

    I tried to fix this for hours now, searching through the forums looking for answers, trying all the things that people give to think (as the change of ownership of the files - didn't work).

    I tried to turn of UAC, but it tells me that I have to restart, which I do, but then when the computer turns UAC turns on again!

    Gaaaah! It's driving me crazy - I'm trying to delete files and folders that I need not, they take up valuable space and they have nothing to do with the functioning of the system.

    Now I know why everyone hates on Vista.

    A lot of files and folders in Vista are unable even to administrators (unlike was the case with XP).  To remove a file, you need all rights to him and maybe same property (and these can be inherited from parent folders or their parent folders is not just a simple matter to change the permissions of the file - unless you remove the inheritance rights in the section advanced as well).  It has nothing to do with YOUR computer, it has to do with the protection of the system of files to be modified, moved, deleted or otherwise modified by people who do not really know what they're doing and causing significant damage. There are places called junction pointshttp://msdn.microsoft.com/en-us/library/bb968829 (VS.85) .aspx which should NOT be accessed by anyone for any reason for example.  Now there are places in your own profile which you denied access.  That's how it works on Vista (and I don't think it's different in Windows 7).

    If you think you should have access to delete the file and know that it will cause no harm, so some information here about obtaining permissions (you want full rights for yourself) and appropriate (not always required but sometimes useful).  Being the owner does not necessarily give you the permissions of all rights - sometimes, you need to do both.  Don't forget to go to the Advanced section to check the rights listed there as well as on the home page - they can block you all also if you don't fix them as well.

    To view your permissions, right-click on the file/folder, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have:http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista:http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/. To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article:http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

    To solve this problem with folders, folders takeownership or the reader (as an administrator) and give you all the rights.  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  Here is more information on the ownership of a file or a folder:http://www.vistax64.com/tutorials/67717-take-ownership-file.html. To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article:http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    ====================================================================================================================

    If this does not work, try to use one of the following free products to remove the file/folder.  Unlocker to: http://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml or file Assassin http://www.malwarebytes.org/fileassassin.php (with or without forcing the deletion: http://www.mydigitallife.info/2008/12/27/force-delete-cannot-delete-locked-or-in-used-files-or-folders-with-fileassassin/). These programs often work when the normal functions to remove Vista not work properly - but it helps if troubleshoot you permission first (even those programs may not work to override only).

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to delete files in need of approval should be deleted? error message: you need permission to perform this action

    Original title: How do I delete the file requiring approval should be deleted?

    I have download a web reader Cacaoweb & recently just found out it doesn't work anymore. One day the internet browser has become impossible to connect to the server. I tried to re-downloaded the software for about 5 times. It's run & install the software in the download files folder. I want to remove the files, but I received a message like this:

    You need permission to perform this action.

    Permission? I am the owner of the laptop, the only Director & the only one using it. I don't understand what I need to do? I tried searching in the uninstall section program control panel but I can't find the name of Cacaoweb inside.

    Hi KezhiaChan,

    Step 1: Appropriating the files (and folders) and try to delete. To do this, follow the steps mentioned in the article below

    How to capture a file or a folder

    http://support.Microsoft.com/kb/308421

    (Article applies to Windows XP, remains valid for Windows Vista)

    If the problem persists,

    Step 2: Start the computer in safe mode and try to delete the files. To do this, follow the steps below:

    Access Advanced Startup menu options by turning on your computer and pressing the button F8 continuously until Windows starts. In the advanced startup options select Safe Mode

    Startup options (including safe mode)

    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Thank you, and in what concerns:
    Ajay K
    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think

  • an error "file does not have a program associated with it for performing this action" when you click office and recent places.

    Original title:

    Win7 victory explrer click dsktop & mployment plces & get eror msg file is not a CDSA wth to prfrmin ths field prgrm. pls instl one prgrm so is alrdy instld Credit Union assc ltvds cntrl pnl prgrms

    I don't know how to fix. Help, please.    Win7 windows Explorer click

    Office & recent locations & grterror msg:
    This file does not have a program associated with it for performing this action. Please install a program or, if it is already installed. create an asssociationin the default programs control panel.
     
    Information given in the new thread:
    Error Msg When you try open office spaces & recent since the win Explorer

    when im in windows Explorer and click on the desktop or the recent places the link I get a msg of error and they will not open, but all others open. I posted pictures of error msg to skydrive yesterday.

    Hello

    Welcome to the Microsoft Community Forums.

    I see you've found an error "file does not have a program associated with it for performing this action" when you click office and recent places.

    1. Have you made changes on the computer before this problem?
    2. What is the full error message?

    I suggest you to report to us the screenshot of the Advanced window so that we can understand what exactly the situation.

    See:
    Use SkyDrive download collected files and post screen shot/image
    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/4fc10639-02dB-4665-993a-08d865088d65

    The average while you can try the following steps and check if the error reappears.

    Method 1:

    Step 1:

    Start the computer in safe mode and check the number.

    Some options, including the mode safe mode, start Windows in a limited State, where only the essential is started. If a problem doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers and services as a possible cause.

    Follow this link provided below to start your computer in safe mode.

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    Put the computer to boot and check if the problem persists.

    To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 3 of the KB article provided above.

    Method 2: I also suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Important: During the scan of the hard drive if bad sectors are found, the scanner tries to repair this sector, all available on which data may be lost.

    It will be useful.

    Back with the details so that we can help you further. We also indicate the result of the suggested steps.

  • Object hidden in the project after Advanced action

    Scenario:

    I have a slide to preview Quiz set up that allows for the learner to choose to go back to some of the content to look again, or move forward for the quiz.  If they choose to return to the content, I won't have to retake the course (unless they want) so I created a form of "Take the Quiz" I use as button will bring back you to the quiz on any slide.  I placed on the first content slide and set it to display the rest of the way, but then made invisible to begin.

    What I've done so far:

    I have set up variables for each module and created a tip action that has defined the variable for each module to 1 it's over.  Each slide content performs an advanced action on enter to see if all module variables are set to 1.  If they are, the form of "Take the Quiz" appears.

    The problem:

    When the learner clicks to review the documents, the form of "Take the Quiz" don't appears on the initial slide, it was placed on, and not on any other blades.

    The only thing I can think of to get around this problem is to create a distinct "Take the Quiz" form for each slide and have action show them to all.  I would like to avoid that, as some of my courses have quite a few slides.

    Can someone suggest an another course of action for me?  I hope this is enough information, but if you need more, I will be happy to provide it.

    Thank you

    John

    When you set the point where the button shape "Rest of project", have you enabled the option "Always on top"?

  • Advanced action scripts - y at - it a variable that tells me which button is clicked?

    Lilybiri gave me some great tips on the use of conditional tip action scripts. Now, I have another related question.

    I have three buttons A, B and C. Each button performs exactly the same series of actions to hide everything on the page, but shows another group of objects depending on which button was clicked - that is, to display the Group A and Group B group C.

    Currently, I have a separate advanced action script for each button (in fact a lot more than three) because of this difference, then want to combine in a single conditional script. However, I can't understand how I would like to know which button was clicked.  In other words, I think that my conditional script should look like this:

    The condition "always."

    If 1 is equal to 1

    [Script to hide all]...

    Continue

    Condition 'has '.

    If MyButton is equal to 'A '.

    See the group_A

    On the other

    Continue

    Condition 'B '.

    If MyButton is equal to 'B '.

    See the group_B

    On the other

    Continue

    Condition 'C '.

    If MyButton is equal to 'C '.

    See the group_C

    My problem is that I don't know how to set or get the value of MyButton to perform conditional tests. Is there a system variable that returns the value of a selected object? I looked at all the variables, and I don't see one. Or y at - it another way to do what I'm missing?

    You probably can find with Javascript, but not with advanced actions. All the available system variables that can be used - there are more - are in a table that you can download here: System variables in Captivate 8 - Captivate blog

    I have several articles on the shared use of stocks. You apply the same instance of a common action several times and don't have that to indicate parameters, in your case these parameters will be for most groups and objects. I hope that stocks shared will expand more in the future. They have several advantages: given that you use multiple instances of the same action that they do not increase the file size as duplicate advanced actions. In addition, you have them in the library that makes management much easier.

  • using advanced actions to make a button appear at the end of my project - HELP

    I'm working to build a set of advanced actions, which allow a user display the buttons at the end of the test based on the responses of the text entry box. The plan that I've discovered so far is:

    1. on the slide after the TEB, I have a conditional action that uses IF cpQuizInfoLastSlidePointScored = 1, and THEN assign the Variable 1 to 1 (the variable is set to 0)

    2. at the end of the test, I have an advance action that declares the variable = 1 IF THEN hide button (the button says they did hide the bad action means they did as the correct input) ELSE view button

    I have a total of 23 of these interactions TEB

    Everything works perfectly if each answer is correct

    Everything works perfectly if each answer is wrong

    Arrises them problem when alone or some answers are wrong. When that happens, no buttons appear.

    I built a debug slide and be positive for each Variable, I built received the first interaction.

    so, what could I have done wrong on my process? Any help would be appreciated.

    Always nice to hear from someone who likes my book.

    A thing, you have not made it clear to me yet.  You say that you are running the first action 'at the entrance to the next slide. I guess you mean using the event YOU enter the quiz question slide slide follows?

    Then, you mention that "at the end of the process," you have a blank slide that performs the final conditional action.  I assume that you mean that you use the event YOU enter Slide for the Quiz results slide where your buttons is displayed?  You won't be able to perform actions SHOW/HIDE objects on slides other than the one where the action is executed.

    My personal preference to set the variables on each quiz slide would be to use the event on the success of the quiz slide just to set the variable directly instead of using a decision of conditional action block as you did. If your quiz questions are all together for a moment of success, then just using the action of success WE should have the same result, but it's just more direct and so less inclined to any question (for example if, for some reason, the system cpQuizInfo variable did not work, your event on success should always pulled).

    In theory, your way (using the system variable) should work too, but sometimes if there are several ways to do something and your current path does not work, try them the other way around can get out you of trouble.

    I guess that your final conditional action has something ELSE for each block of decision which SHOWS the button?

    One thing that also that Lilybiri would probably say, that you are trying to rename all your blocks of decision in the last conditional action.  It could be one of the names of your decision blocks is originally a kind of conflict.  I noticed that you have a name of decision block with a punctuation of hash character.  Not a good idea.

  • Advanced actions in CP6 combination

    It seems so simple, that I'm almost embarrassed to post.

    (1) is it possible to use [if, else if, elseif, else] structure in conditional actions?

    (2) is it possible to call several advances in stocks of a trigger (eg. entering a slide)?

    (3) is it possible for a tip action call advanced further action?

    What I'm trying to accomplish:

    At the end of the quiz, display a rating grid (several legends of text) and automatically highlight the part of the scale that corresponds to the way in which the user has made. Assume that the user has marked a 3.  The scale can have 3 Legends: caption1 = [0-2: below average], caption2 = [3-4: average], caption3 = [5-6: above average].  Users see the same 3 legends, but the appropriate legend should be highlighted (I set its Alpha to 100% and the other legends at 50%).

    What I tried:

    (1) to build a conditional action: If score > 4 then highlight caption3, elseif score > 3 then highlight caption2, otherwise select caption1. Unfortunately I do not see how to use the elseif construction.

    (2) create 3 separate actions advanced conditional and call each of them entering a slide: (A) if there are 5 < = score < = 6, then highlight caption3 only. (B) if 3 < = score < = 4, then highlight caption2 only. (C) If 0 < = score < = 2, then highlight caption1 only.  Unfortunately I can not understand how to call all advanced actions when the user enters the slides

    (3) create an advanced standard action that will call the above 3 conditional actions in order. Unfortunately I don't see a way to call advanced actions of in a tip action.

    The goal seems so simple, but I am at a loss on how to do it. Help please.

    Hello

    The workflow in the conditional shares advanced is a bit different from normal programming languages. You have the possibility to create and/or conditions and have a series of decisions (the buttons without a title at the top) with different conditions in each decision. But be aware that Captivate will always evaluate all decisions, in order. So I recommend especially for complicated situations create a flowchart with the logic before you create the action.

    No, you can use only a single trigger action. But it is possible to combine in a single conditional action. To mimic a standard action, you use a condition which is always filled as "If 1 is equal to 1"

    It is not possible to call a tip for any other action action, no subroutines. There is also no loops, without tables.

    I have many examples on my blog for advanced actions use cases: http://blog.lilybiri.com

    Your example is quite easy:

    Decision 1 "Excellent".

    IF cpQuizInfoPointsscored is greater than or equal to 5

    Apply the effect...      to the proper shape

    Decision 2 "average."

    IF cpQuizInfoPointsscored is greater than or equal to 3 AND

    cpQuizInfoPointsscored is less than 5

    Apply the effect...      to the proper shape

    Decision 3 "Low".

    IF cpQuizInfoPointsscored is less than 3

    Apply the effect...      to the proper shape

  • A few Questions about the advanced Actions window

    Hello

    I have a few questions about the progress of the Actions (using the version of track CP7)

    1. What is the function of the action to "continue?"   Out of the peak action and advance the playback cursor?

    2. What does mean this comment "Nested calls to action advanced is a nice improvement."? Is the advanced decision at the top of a page of action tabs?

    3. What is the function of the option "custom" in the IF statement - "preform action if - custom", it doesn't seem to do anything for me?

    4. where can I get information about the timeline / playhead interaction with advanced actions, i.e. where the playhead is going again at the beginning of the slide. slide custom question - display button, e.g. verification of responses, comments - when all the objects are at the beginning of the timeline. I'm looking more for the read head of infromation functionality rather than how to implement this type of question.

    Thank you

    Donal.

    Continue: If an advanced standard action is triggered by a button, this will not trigger the playback head. If you want out, you can use continues. Continue can also be a choice in a conditional action, when one orders branching has nothing to special, but in advance. Continuous is also the "dummy" statement/command (this is the official name of a line in the dialog box advanced actions) If a statement has become unusable due to some reasons, it will be replaced by continue

    There is no nested call stocks advanced possible right now, one of my many feature requests. It would be sort of a subroutine that you can use over and over again, instead of having to create each time when necessary.

    A decision is one of the conditions to be an advanced conditional action. They allow to create more complex actions, as a loop or arrays are not possible. All decisions are executed in sequence and always.

    Custom: is a combination of or but it is rather limited, because you cannot use parentheses.

    I guess you'd better visit my blog if you want to learn more about the advanced actions.

    http://blog.lilybiri.com/

    I also did several Webinars on stocks advanced, last this afternoon (on the sharing of the actions) for Adobe. They are all available on request.

    Lilybiri

  • Alternate slides with JavaScript (or advanced Actions)?

    I was wondering if someone out there with the knowledge of JavaScript could help me a little...

    A colleague came to me with a question about randomization of the slides. We work in Captivate 5.5. The slides are all part of a quiz (but aren't question slides). They have a click box. The idea is that if the user clicks on the box (or off the beaten track), it shows a good (or bad) legend and then jumps to a random slide (new). If the user manages at the end of the slide without selecting anything, their time is running out and they get fried to a random slide and it is regarded as an incorrect answer. The user should see all of the slides in random order, with no recurrence.

    I created a tip Action, integrating the widget of random number, and it works. My problem is that the project has 50 blades, and I'm not sure it is very feasible with advanced Actions. As it is, my test with 3 random slides is an action with 4 conditional statements, so I'm not really looking to create one for 50 slides. (I don't know even if Captivate would be able to handle this).

    Is there a way (judging) to achieve with JavaScript instead? My vague idea based on my very limited knowledge of programming is:

    1. on enter first Captivate slide, create the array of random slides - 1 slide numbers (because cpCmndGotoSlide index starts at 0)
      so if I had a project where I wanted to shoot random slides 3-8, the would be [2, 3, 4, 5, 6, 7]
    2. Shuffle/random table
    3. set up a variable called slideviews = 0 to keep track of how many slides have been seen (and so which item in the table to move to the next randomly)
    4. Create a function that I'm going to run when I want to access a random slide (whether at the end of a slide or in the success or failure of a click on a square)
      something like... If slideviews < array.length, cpCmndGotoSlide = array [slideviews]; slideviews ++; Another thing, cpCmndGotoSlide is 8 (jump at the end of the slides)

    Of course, this lack of things (like the proper syntax and things needed to communicate with captivate)... but is sound logic? Is there a better way to do it?

    Come to think of it, the table and the slideviews variable should be saved if we wanted it works with bookmarking... I think that this project will be SCORM 1.2 LMS System.

    It would be nice to have a variable user I can access within the Captivate project and I can put in a legend to show the script #. Something like scenario = slideviews (I know that's not the syntax, reading series of JavaScript of Jim Leichliter on CaptivateDev.com, but that's the basic idea.)

    Anyway, pointers would be very useful! Thank you.

    Edit: I played a little bit; for randomization, I found a code online, and then I wrote something that automatically creates a table and a function for the jump to a slide randomly. Here's what I have so far (not tested in Captivate yet):

    var objCP = document.Captivate;
    
    var randomNumbers = []; 
    
     // The following creates the values for the array: 3 to 52.
     // I want to randomize slides 4-53, using cpCmndGotoSlide (index starting at 0) to jump to them
    
    for(i=3; i<53; i++) {
                        randomNumbers[i-3] = i;
    }
    
    var n = randomNumbers.length;
      var tempArr = [];
      for (i = 0; i < n-1; i++ ) {
        // The following line removes one random element from arr
        // and pushes it onto tempArr
        tempArr.push(randomNumbers.splice(Math.floor(Math.random()*randomNumbers.length),1)[0]);
      }
      // Push the remaining item onto tempArr
      tempArr.push(randomNumbers[0]);
      randomNumbers=tempArr;
    
    var slideViews = 0;
    
    var randomSlide = function() {
    if (slideViews < 50) {
                        objCP.cpEISetValue("cpCmndGotoSlide", randomNumbers[slideViews]);
                        slideViews++;
                        objCP.cpEISetValue("scenarioNumber", slideViews);
              }
              //after all the slides have been seen, jump to the final results slide
              else {
                        objCP.cpEISetValue("cpCmndGotoSlide", 53);
              }
    };
    

    I doubt it will work off the bat, but maybe this is a beginning?

    I managed to get things working, so I thought I'd post my (probably a little unwieldy and inefficient) code in case people come across this thread and want a starting point:

    var objCP = document. Captivate;
    var randomNumbers = [];
    var slideViews = 0;
    CVS var = 0;

    shuffle var = {function (array)}
    var m = array.length, t, j;
    so that {(m)
    j = Math.floor (Math.random () * m-);
    t = array [m];
    table [m] = array [j];


    table [j] = t;
    }
    };

    var jumpSlide = function() {}
    If (slideViews < randomNumbers.length) {}
    objCP.cpEISetValue ('cpCmndGotoSlide', randomNumbers [slideViews]-1);
    slideViews ++;
    objCP.cpEISetValue ('scenarioNumber', slideViews);
    }
    else {}
    objCP.cpEISetValue ('cpCmndGotoSlide', 52);
    }
    };

    var randomSlide = function() {}
    If (g_objAPI.LMSGetValue ('cmi.comments') = ") {}
    for (i = 3; i < 53; i ++) {}
    randomNumbers [i-3] = i;
    }
    Shuffle (randomNumbers);
    g_objAPI.LMSSetValue ('cmi.comments', randomNumbers);
    resume ++;
    jumpSlide();
    }
    ElseIf (resume = 0) {}
    randomNumbers = g_objAPI.LMSGetValue('cmi.comments').split(',');
    slideViews = objCP.cpEIGetValue ('scenarioNumber');
    resume ++;
    jumpSlide();
    }
    else {}
    jumpSlide();
    }
    };

    The random slide order is stored in cmi.comments, and the position in the sequence is stored in a Captivate variable called scenarioNumber. I could have stored the two variables of Captivate in cmi.suspend_data, but in the end, I liked being able to see the numbers when considering the SCORM data. To work around problems with initialization, I made the creation/restoration of the part of random numbers of the function which climbs to a slide randomly, so nothing is actually executed when entering the first slide.

Maybe you are looking for