How do I create variables in Captivate?

I'm hoping someone will be able to help me out. I'm working
on some e-learn using Captivate at the moment and am not sure how
we 'affect' variables once a user as completed a branch. i.e. I
have three buttons on a page representing 3 different branchs. When
a user selects a button he/ she follows the slides in the branch.
At the end of the branch they are returned to the original slide
with the 3 buttons, only now, the button that they originally
selected is marked as complete or changed to represent having been
completed (i.e. text is added, icon changes etc).
I hope this makes sense. Any help would be greatly
appreciated. Cheers

I found that I could export my Captivate project to Flash and
then use Actionscript to make checkmarks visible on the menu if
various sections were viewed. Here's some code that may make this
easier if you care to try the same thing:
Initialization Code for a menu with four checkmarks (frame
1):
_global.section1viewed = false;
_global.section2viewed = false;
_global.section3viewed = false;
_global.section4viewed = false;
Menu Code (place on the frame(s) that display the menu):
if (section1viewed) {
checkmark1._visible=true;
} else {
checkmark1._visible=false;
if (section2viewed) {
checkmark2._visible=true;
} else {
checkmark2._visible=false;
if (section3viewed) {
checkmark3._visible=true;
} else {
checkmark3._visible=false;
if (section4viewed) {
checkmark4._visible=true;
} else {
checkmark4._visible=false;
(Also place on the menu the 4 checkmarks which are movieclips
and name their instances checkmark1, checkmark2, etc.)
Set variables to true (place the appropriate statement by
changing the 1 to 2, 3, or 4, on the last page of each section):
_global.section1viewed = false;

Similar Messages

  • How do I create variables and store them?

    How do I create variables and store them?

    As someone already said, we need to know a little more about what you want to do with these variables, but in general, APEX Items are probably what you want. You can create APEX Items at the Application or Page level. Once you set the value of an item, you can reference it anywhere else in the application. So, if you have an item on page 1 called P1_ENAME, you can reference it on page 32 using bind variable syntax :P1_ENAME. If you just want to store but not display some information, you can use either a hidden page item or an Application Level item. Take a look at the 2 Day Developers Guide for more info.
    Tyler

  • How do I create files in Captivate 6 and save them in a lower version?

    I have Captive 6 at home and at work we are using 5.5.with no plans to upgrade.  How do I create or edit in Captivate 6 and still save files so my coleagues can contribute using the software we are given at work?

    Only between 6 and 7 this is possible, not with previous versions. And even between 6 and 7 you can have weird things happening. It has nothing to do with being a normal file or a template, I don't know why you tell that?
    OP was talking about 5.5 and 6, and there this is NOT possible at all.

  • How to script creating variables based on input

    I am looking to do something that I am sure is possible but at a loss on how to do it. Maybe someone can assist. What I am looking to do is have a question that is asked, the input will be a number, what I want to do with that number is have it stored into
    a variable called "$variableX" where the X is the number someone enters.
    For example:
    Question:  Type a number from 10-20
    The user types 15, then the script outputs the Variable $Variable15, then when asked to enter a another number and they enter 19, then another variable is created called $Variable19.
    Hope this makes sense.   I was thinking of writing a bunch of If statements but I don't want to enter 10-20 of them, if one smaller script can do them all.
    Thanks,

    Yes, they will be asked "Are you adding a new disk to the server?", if the answer is yes then it will then ask for the disk number.  After they do that it will then say "Is there another disk to add?"  If so then it
    will run it again.  If no, then it will stop.
    You can wrap what I've posted above in a do loop to accomplish this.
    http://ss64.com/ps/do.html
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • How do we create variable for hierarchy node selection

    hello all,
    I have to create a variable as to where the user ca input the node of hierarchy in his selection at the start. Do we have to create a new variable ?
    I have the hierarchy loaded for that infoobject. I tried creating a new variable but the when I select from drop down as varaibles and name of the hierarchy no variables shows up.
    Thanks

    Hi Raj,
    Please see this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/096d399bd2046fe10000000a114084/content.htm
    It has complete details.
    Hope this helps...

  • How to create variables at runtime

    Hi,
    I need to know how can i create variables at runtime.
    or is their anything like array that we create in 'C' if yes . how can i define its size at runtime.
    Thanks,
    Dev.

    In forms, either record groups or pl/sql tables of records give similar functionality to an array. You have full programatic control of either but with completely different syntax. Record groups integrate well with certain forms built-ins and features (eg LOVs and Tree items). PL/sql tables integrate well with other pl/sql such as stored procedures. Unlike an array, a pl/sql table may be SPARSE (index numbers need not be sequential), and UNBOUNDED (no need to declare the number of rows).

  • OWB 11g  Process Flow - How to see variables and how to create variables

    Dear All,
    I have recently migrated from 10g to 11g rel 2.
    In 10g when I open a proces flow I can see all the parameters and variables I created on each activities on "Explorer" window. this allows me to craete new parameters and variables as well.
    But ones after I migrated to 11g, I cant see explorer window and there is no place to enable it as well.
    How Can I create variables, parameters in processes flow on 11g?
    Thanks in advance.
    Alex

    Hi,
    In 11g "Explorer" window renamed as "Stucture" and same details as 10g shows in Structure window. This window can enable and dissable (Show and Hide) using Menu => View=> Stuture option.
    Thanks

  • Creating variables in Report Painter

    Hi ...
    I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please advise
    Also, I would like to I have a requirement for a report whereby the format is like this .....
    SALES       CURR MONTH (06/2006)  LAST YEAR          
    - Sales IT
    - Sales 1
    - Sales 2
    COGS
    - cogs 1
    - cogs 2
    - cogs 3
    COS
    - cos 1
    - cos 2
    - cos 3
    GROSS PROFIT
    Whereby, SALES = sales it + sales 1 + sales 2, COGS = cogs 1+cogs 2 + cogs 3, COS = cos 1+ cos 2+ cos 3. also GROSS PROFIT = SALES + COGS + COS
    The abpve report is inclusive of Cost Centre and Profit Centre, how acn I utilize the libraray in Report Pianter to create such report, is this possible in Report Painter whereby including Cost center and Profit Centre in one single report
    Pls assist me
    Nathan

    When you create your variable first enter the variable name. Second enter the reporting "table" to use. Third enter the "field'. Press enter. Next enter a default value for your field. Save you variable. It is now ready to use in your report painter.
    Using the PCA reporting tables gives you the profit center but not the cost center. You can only use one reporting table per report. you will need a cctr report for that.
    First create your own libray from GLPCT. Next create your report using your new library. The report painter can do the calculations that you have shown.
    You create a formula in the row or column to calculate your sub totals.
    pls assign points if helpful as a way to say thanks.

  • Apple numbers creating variables

    In Excel I can create a variable that can be used in  the spread sheet calculations.  e.g InterestRate=4.21%: Then use InterestRate in the spread sheet.  How do I create variables in Numbers?
    Thank You
    Ernie Graff

    Hi Ernie,
    Instead of an 'ocean' of a sheet with 'islands' of data (an idea borrowed from Barry) create several small tables, each with a purpose.
    How about this? A table named Interest Rate (single cell) to contain a value that you can change by typing.
    Another table with the calculations
    Formula in B2 of the Calculations table:
    =B2+B2×Interest Rate::A1
    Now you have the Numbers equivalent of an Excel named reference .
    Regards,
    Ian.

  • Create variable in TVARC

    Hi all,
    How can we create variable in tvarc table to maintain variant to be used in shipment consolidation simulation
    Thanks.
    Moderator message: please do more research before asking.
    Edited by: Thomas Zloch on Mar 29, 2011 4:18 PM

    Yes.
    DATA lp_data TYPE REF TO DATA.
    FIELD-SYMBOLS: <FS>.
    CONSTANTS c_type TYPE c LENGTH 1 VALUE 'F'.
    CREATE DATA lp_data TYPE (c_type).
    ASSIGN lp_data->* TO <FS>.
    The field symbol is now a floating point variable.  You can have any type, and also construct your own types dynamically, using the RTTS (search for info).
    You can also create internal tables dynamically by building on these techniques.

  • Captivate 7 Help for creating Variables and Results

    Hi there,
    I'm currently trying to create a results page from the collection of the users selections in a survey that consists of radio buttons that would rate the users skills from 5 different levels starting from "unsatisfactory" to "Outstanding". What I want to do is after the users goes through about 45 selections, a results page will compile
    the Top 10 options that they have selected. Is this possible and how? Thanks in advance!
    I have about 5 different slides with a total of 45 various levels that I will be asking the user to rate themselves. Ultimately, on the last slide I want to compile the Top 10 results and possibly the bottom 5.
    Here are the screen shots of what I'm talking about
    Thanks in advance
    Peter

    Radio buttons widget or interaction has an associated variable, you'll have to use those variables and advanced actions.
    Widgets and Custom Questions - part 1 - Captivate blog  is an old blog post, that explains how to use the variable associated with the radiobuttons widget.
    What do you mean by Top 10?

  • Create User Variable in Captivate via Widget / AS3 ??

    Hello all,
    I have created a widget which will load many variables into Captive from an XML file.  This is great.
    Now i don't want to create 100 user variables in the Captivate variables section.
    Can you create a user variable within a widget/as3 that will load in Captivate WITHOUT creating the var in Captivate first???
    And how might you do this?
    Thank you so much!
    ~ Sean

    I've had some time to figure this out... so here's what I've found.
    When you place a caption on the Cp canvas, it's base AS3 type is an cpItem.  Once you add a Captivate user $$variable$$ from the Variables Panel to that caption, the AS3 type becomes an rdCaptionItem which has an event associated with it... Once the variable value is changed, the caption text is automatically updated.  You don't get that with a regular cpItem caption.
    What does that mean?  It means that the caption type is determined at design time and not runtime.  So even though you can create variables at runtime, you can't update any captions because the type is still an cpItem with no events.  For example, if I wrote the following AS3 code to create the vTest Cp user variable at runtime in a widget:
    cpVariables.setVariableValue("vTest", "Hello World!", true);
    cpVariables.SetVariableLength("vTest", 100);
    and placed $$vTest$$ in a caption, nothing would get updated during runtime because the vTest variable was not created at design time.  The caption is still a cpItem and has no associated event to update the caption text with the newly created variable value.
    How can we fix this?  You can't... as far as I can tell, you need to define the variable at design time in the Captivate Variables Panel.  I thought about updating the caption myself by watching for changes in the variable by tapping into the WidgetEvent.VARIABLE_UPDATED event, but the newly created variable was not in the variableNamesArray for the callback... so there was no way to know if and when it changed.
    Long story short, Adobe needs to provide a better way to make this easier for widget developers... and I don't see that happening anytime soon.  Right now, the ability to create variables at runtime is somewhat useless.  It may be good for inter-widget communication, but there's better ways to do that.
    Jim Leichliter

  • How do I create an array with variables also splits words  in a txtfile?

    Hello guys,
    I made a script that reads a text file.
    function readMyFile()
    var myFile=File(app.activeDocument.filePath + "/LareLog.txt");
    if (myFile.exists)
            myFile.open("r");
            var Temps =  myFile.read();
            alert (Temps);                          // message the content
            var nyRad=("\n");                    // break the line
            textArr=Temps.split(nyRad);
            alert(textArr);                          // message the content with all info on new lines ("\n");
            myFile.close();
    my textfile contains:
    ~/Desktop/3.indd ,Thu Mar 20, 2014, 11:26:34 , GMT+0100
    I wonder how do I sort the content in array
    in this order, also creates variables for each string.
    var= string 1[~/Desktop/3.indd]
    var2=string 2[11:26:34]
    var3=string 3[11:26:34]
    var4=string 4[2014]
    var5=string 5 [GMT+0100]
    Thank you in advance people.

    Hmmh?
    Jump_Over said it before: „… are stored as separate array's elements …“ in your [textArr]
    So you can create now variables on this way:
    var string_1 = textArr[0]; // and so on
    alert(string_1);
    See Java Scripting reference for more examples how to use Arrays.

  • How do I create an interactive PDF file with variable data

    We would like to basically do a 'mail merge' of our list of customers with an interactive PDF file (including videos, menus, etc - not just form fill out and web links) to create a single PDF file that contains multiple mail pieces ... one for each customer ... with each mail piece being customized for that customer.  Customizations would include different greetings (Dear Bob, Dear Dana, etc), as well as different charts based on data unique to the customer, different photographs, etc.
    I've seen that InDesign and Acrobat Professional can be used to create an interactive PDF (such as from http://tv.adobe.com/watch/ask-the-adobe-ones/14-calling-rufus-about-interactive-pdf-making).  However I don't understand how I can insert data from a database, csv file, excel file etc into the PDF file so that each page, or each set of pages, within the PDF can be customized.
    Can anyone point me to a tool to use for this?
    Thanks,
    Bob Kendall

    For that kind of volume and unattended operation, you want InDesign Server – which is the server/high volume edition of INDD.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 3 Nov 2011 06:58:07 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How do I create an interactive PDF file with variable data
    Re: How do I create an interactive PDF file with variable data
    created by Ti26E31DSxxx<http://forums.adobe.com/people/Ti26E31DSxxx> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4005459#4005459

  • How do I create a variable video delay of a live stream...

    I have a live video feed from my webcam in my Flash Application. I have a second video window next to it that I want to place a variable delayed video of the live stream. Therefore, I need to save the video stream in memory/disk and create this variable delay, say 5-60 seconds. As well as, continue to capture the live stream. The camera I am using suppots H.264 encoding.
    How do I create a variable length queue or buffer to hold the video stream coming into the flash application. Do I create a memory variable or write this to disk ? I have been looking over the ActionScript 3.0 documentation and I can not figure out how to code this either way ( as a memory variable or write to disk queue ).
    I want to be able to change the delay, view the delay stream in slow motion and scrub through the delayed stream.
    I would like to do this with out having to use Flash Media Server.
    Thanks,
    Bob

    I am sure it is practically impossible to accomplish that on the client side. Although theoretically it is conceivable to use NetStream.appendBytes() but it requires an extremely complex implementation.
    I suggest you look into FMS DVR capacities:
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS236AE81A-5319-4327-9E44-310A93CA09 C6Dev.html

Maybe you are looking for

  • How can I export movies containing Panasonic LX-5 AVCHD clips?

    When I use AVCHD video clips that I've imported into iMovie in a project from my Panasonic Lumix LX-5, I can't export that project. I get this error message: "Unable to prepare project for publishing. The project could not be prepared for publishing

  • Inspire T6100

    I have recently purchased the inspire T6100 5.1 system. I believe my laptop has an analog 2 sound card, what do I need to connect and use the T6100. Can the same be used to connect the speakers to my dvd player?Are the speakers compatible with an ipo

  • !!HELP! PROBLEM WITH javasdk & IE6

    I installed java2 sdk 1.3, and ever since that my javascripting which is done through internet explorer 6 has not worked. this is a major problem as it does not allow me to read emails or download programs. I havent found a way of reinstalling intern

  • SQL statements in Orchestration take too long

    Hello all, I have an orchestration that inside has a Expression Widget. In this Expression widget I call several methods from an assembly that I wrote in VstudioC#. This assembly get some values from the files beeing processed and does some checking

  • Can't delete or empty trashcan.

    I can't delete an app from my macbook pro without it telling me it can't read or write the file, so it just sits in my trashcan preventing me from deleting other files quickly. I've tried using the terminal but it just tells me the directory doesnt e