Use swf to add to captivate score variable

Hi,
Challenge: I'm trying to add to / update the quiz score in captivate from a swf. My swf is added on a blank slide in a captivate quiz using Insert>Animation.
What I've Tried: In my flash/swf file I have a button with the AS2 code (I could change to AS3 if the solution needed it):
on (press) {
_root.cpQuizInfoPointsscored = 100;}
The swf also contains a text field set to the variable _root.cpQuizInfoPointsscored
My results so far: When I publish the captivate project, the button in my swf file works, and the variable text field is updated to read '100'. However when I get to the captivate score page the score from my swf is not included.
I would really appreciate any help or advice on this problem. Thanks in advance.
Experience: I'm a captivate newbie and have had a bit of experience with Flash.

Hello,
I'm not at all a Flash-expert but played a lot with variables and advanced actions in Captivate. As far as I know (and I had some confirmation from the Adobe people) you cannot change the cpQuizInfoPointsScored variable that can be transferred using SCORM (and that is also the one displayed in the score slide). You can of course change a user variable, but not this system variable. And this is valid for CP4 and CP5 (you did not mention the version you are using - but since you are talking about AS2 I presume CP4). What could be possible is to create a Question widget instead of an animation, because widgets can communicate with Captivate and the score attached to a Question widget will be taken into account for the total score.
Lilybiri

Similar Messages

  • Captivate score variables to PHP

    Since most Captivate files are published as SWF, I was
    wondering if some one hear has Captured the scores variables in PHP
    or another method.
    I was wondering how the score and question tracking variables
    where named in Captivate. I am trying tpo capture them with the
    POST methods and then save the scores in a MySQL database. I can do
    it with Flash because I know what the variables are named, but I am
    not sure how Captivate names the variables.

    Since most Captivate files are published as SWF, I was
    wondering if some one hear has Captured the scores variables in PHP
    or another method.
    I was wondering how the score and question tracking variables
    where named in Captivate. I am trying tpo capture them with the
    POST methods and then save the scores in a MySQL database. I can do
    it with Flash because I know what the variables are named, but I am
    not sure how Captivate names the variables.

  • Can you submit a User Variable instead of the Captivate Quiz Score variable to an LMS?

    I am attempting to create two quizzes in a course that has branching.  I know that Captivate only allows for one quiz if you are using Question type slides, but I am using a simulation to check the knowledge of a process.  I want to report one of the simulation completions depending on which branch the user goes to (different branches for different products).  How or is it even possible to submit user variables in place of the Captivate Quiz Score variable, the time in the course variable, and the Pass or Fail status to an LMS?

    Sadly, I am using Captivate 5.5.  I was thinking it should be possible to use Javascript to be able to take a specific variable and submit it to the LMS in place of Captivate's Quiz variables.  I just don't know Javascript well enough to know how to do that.

  • When I publish a SWF/HTML5 module with Captivate 8 and try to run it using IE9 - I get the following error "The content you are viewing is not supported in the current Document Mode" - anyone know why?

    When I publish a SWF/HTML5 module with Captivate 8 and try to run it using IE9 - I get the following error "The content you are viewing is not supported in the current Document Mode" - anyone know why?

    TLCMediaDesign wrote:
    I've seen a lot of threads about getting rid of these kind of messages. Those messages are there for a reason most of the time. If you have CSS animations or other HTML5 standards that cannot be rendered in IE9 they won't magically start working becuse you got rid of a message. I use IE9 since that is the minimum standard for the client. I have never seen that message publishing to HTML5 content.
    IMO, if your client has IE9 I think that you should develop with IE9 in mind not IE11.
    When you say "develop with IE9 in mind not IE11" do you mean use SWF instead of HTML5? I used the standard question types, and a converted PowerPoint presentation. I didn't add anything out of the ordinary.

  • Referencing Captivate (quiz) variables

    Hi folks - we are using our own software to function as a lite-LMS and looking to use javascript to pass data back into our custom reports for both tracking and quizzing.
    We have been able to GET data from Service-now using client scripting and executing JS in Captivate. So for example, we can query course info and get the logged in user (student) and render that in the captivate project.
    We also figured out how to make javascript calls to move data from the running captivate project to the Service-now.com instance as well.
    The last remaining piece of the puzzle is accessing the quiz variables from javascript running within the published SWF file: how to access a variable from a caption (using tokens: $$cpQuizInfoPassFail$$), so the questions are as follows:
    1.       What’s the best way to reference the Captivate variables when running Javascript from Captivate (using ‘execute JavaScript’ action)?
    2.       Are the quiz variables accessible in slides following the quiz results? (The quiz results page doesn’t let me add another button to publish results using Javascript)
    Thanks in advance!
    jon

    Hi there,
    For information on using JavaScript with Adobe Captivate you might want to tak a look at the two links I have included below.
    Thoughts on using JavaScript with Adobe Captivate:Screen shots show Adobe Captivate screens
    JS Controller for Adobe Captivate 5
    Best regards,
    Mark

  • Send Captivate user variables and values to the LMS ?

    Hi all. has anyone got a clever way to send a bunch of Captivate user variables and their values to an LMS (Moodle) so that they end up recorded as part of the SCORM course results or do these need to be explicitly part of a Quiz ? I think that I can setup where I get these values from the Learner so that they take the form of a Quiz (even though there is not a right answser) and set the the LMS settings to record interactions and scores. But is there an easier way to send them via LMSSetValue or even using a widget ?
    Fergal

    You can do it, but it will definitely not be the easiest way to achieve the objective. The accessibility of your web form will determine what you can and can not do.
    The first issue would be populating the field of the form, and that can be achieved by actually re-generating the form programmatically and assigning a value to the html value tag for that field.
    The second issue of "click on the button" is not trivial. If you're in the windows environment you will have to get into intercepting windows messages from the message queues and get the handle of the web browser window and after finding all the relevant information that will change every time this process is performed, is in my opinion not worth the effort.
    I would approach this di
    fferently in looking at what you are trying to achieve in the first place and that is to do directly with the data what the form would've done.
    Forms will either send some e-mail to someone using the submitted data or submit information to a database or write it to a file. If you have a cgi script behind the form you can pass the information directly to the script rather, i.e call the scrip directly in the same way the form would've using your program and skip the form.
    If you can be specific about your objectives and give me details about the forms and detail on the web server type and the capabilities of handling various types of cgi scripts I can give you detailed advice and pointers towards achieving the solution.
    Questions you need to answer:
    What would the form do with the data? (mail, file, database etc.)
    How many fields do you need to submit?
    What type of web server are you running? (IIS, Apache etc.)
    Were is the form hosted, on the www
    or on an intranet?
    Is it accessible to you to change/add scrips to it?
    Hope this helps.
    Best regards
    Jattie van der Linde
    Engineering Manager, Software & Automation
    TEL Magnetic Solutions Ltd

  • Using getter/setter for returing a string variable to display on an Applet

    have two classes called, class A and class testA.
    class A contains an instance variable called title and one getter & setter method. class A as follow.
    public class A extends Applet implements Runnable, KeyListener
         //Use setter and getter of the instance variable
         private String title;
         public void init()
              ASpriteFactory spriteFactory = ASpriteFactory.getSingleton();
              // Find the size of the screen .
              Dimension theDimension = getSize();
              width = theDimension.width;
              height = theDimension.height;
              //Create new ship
              ship = spriteFactory.createNewShip();
              fwdThruster = spriteFactory.createForwardThruster();
              revThruster = spriteFactory.createReverseThruster();
              ufo = spriteFactory.createUfo();
              missile = spriteFactory.createMissile();
              generateStars();
              generatePhotons();
              generateAsteroids();
              generateExplosions();
              initializeFonts();
              initializeGameData();
              //Example from Instructor
              //setMyControlPanel( new MyControlPanel(this) );
              // new for JDK 1.2.2
              addKeyListener(this);
              requestFocus();
         public void update(Graphics theGraphics)
              // Create the offscreen graphics context, if no good one exists.
              if (offGraphics == null || width != offDimension.width || height != offDimension.height)
                   // This better be the same as when the game was started
                   offDimension = getSize();
                   offImage = createImage(offDimension.width, offDimension.height);
                   offGraphics = offImage.getGraphics();
                   offGraphics.setFont(font);
              displayStars();
              displayPhotons();
              displayMissile();
              displayAsteroids();
              displayUfo();
              //displayShip();
              //Load the game with different color of the space ship          
              displayNewShip();
              displayExplosions();
              displayStatus();
              displayInfoScreen();
              // Copy the off screen buffer to the screen.
              theGraphics.drawImage(offImage, 0, 0, this);
         private void displayInfoScreen()
              String message;
              if (!playing)
                   offGraphics.setColor(Color.white);
                   offGraphics.drawString("\'A\' to Change Font Attribute", 25, 35);
                   offGraphics.drawString(getTitle(), (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             - fontHeight);
                   message = "The Training Mission";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2);
                   message = "Name of Author";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             + fontHeight);
                   message = "Original Copyright 1998-1999 by Mike Hall";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 2
                             + (fontHeight * 2));
                   if (!loaded)
                        message = "Loading sounds...";
                        int barWidth = 4 * fontWidth + fontMetrics.stringWidth(message);
                        int barHeight = fontHeight;
                        int startX = (width - barWidth) / 2;
                        int startY = 3 * height / 4 - fontMetrics.getMaxAscent();
                        offGraphics.setColor(Color.black);
                        offGraphics.fillRect(startX, startY, barWidth, barHeight);
                        offGraphics.setColor(Color.gray);
                        if (clipTotal > 0)
                             offGraphics.fillRect(startX, startY, (barWidth * clipsLoaded / clipTotal), barHeight);
                        offGraphics.setColor(Color.white);
                        offGraphics.drawRect(startX, startY, barWidth, barHeight);
                        offGraphics
                                  .drawString(message, startX + 2 * fontWidth, startY + fontMetrics.getMaxAscent());
                   else
                        message = "Game Over";
                        offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4);
                        message = "'S' to Start";
                        offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4
                                  + fontHeight);
              else if (paused)
                   offGraphics.setColor(Color.white);
                   message = "Game Paused";
                   offGraphics.drawString(message, (width - fontMetrics.stringWidth(message)) / 2, height / 4);
         public String getTitle() {
              System.out.print(title);
              return title;
         public void setTitle(String title) {
              this.title = title;
    }displayInfoScreen method in class A calls out for getTitle( ) to be displayed on an applet as an initial display string for the application.
    The instance variable title is set by setTitle method which is called out in class testA as follow,
    public class testA extends TestCase
          * testASprite constructor comment.
          * @param name
          *          java.lang.String
         public testA(String name)
              super(name);
          * Insert the method's description here.
          * @param args
          *          java.lang.String[]
         public static void main(String[] args)
              junit.textui.TestRunner.run(suite());
              // need to figure out how to get rid of the frame in this test
              System.exit(0);
         public static Test suite()
              return new TestSuite(testA.class);
          * Basic create and simple checks
         public void testCreate()
              A theGame = new A();
              assertNotNull("game was null!", theGame);
          * Basic create and simple checks
         public void testInit()
              A theGame = new A();
              Frame gameFrame = new Frame("THE GAME");
              gameFrame.add(theGame);
              int width = 640;
              int height = 480;
              gameFrame.setSize(width, height);
              // must pack to get graphics peer
              gameFrame.pack();
              theGame.resize(width, height);
              theGame.setTitle("TEST THE GAME");
              theGame.init();
              assertEquals("ASprite width not set", A.width, width);
              gameFrame.dispose();
              gameFrame.remove(theGame);
    }Basically, class testA invokes the init( ) method in class A and start the applet application. However, it displays a white blank display. If I change the getTitle( ) in the displayInfoScreen method to a fixed string, it works fine. Did I forget anything as far as using getter & setter method? Do I have to specify some type of handle to sync between setter and getter between two classes? Any feedback will be greatly appreciated.
    Thanks.

    Your class A extends runnable which leads me to believe that this is a multi-threaded application. In that case, title may or may not be a shared variable. Who knows? It's impossible to tell from what you posted.
    Anyway, what is happening is that your applet is being painted by the JFrame before setTitle is called. After that, who knows what's happening. It's a complicated application. I suspect that if you called setTitle before you added the applet to the frame, it would work.

  • Swfs don't work (Captivate and Flash AS2)

    I inserted a .swf from a published Captivate 5 file into my PowerPoint. When I preview the ppt, it plays fine, but when I publish it to Presenter it no longer works. It's just a blank white screen. Any suggestions?
    Additionally, I created a very simple Flash file with basic button functionality and brought it into PowerPoint. It shows up but none of the buttons work, and I have no _global or _root code in it. Any help would be great.

    Unfortunately guys, I wish I had better news, but there's a reason why  Captivate 5 content will not run in Adobe Presenter.
    By default, Cp 5 now publishes using Actionscript 3 and that's the  culprit!
    Presenter is still using Actionscript 2.0 so the problem here is that the  governing codebase in P7 doesn't recognize, and therefore cannot  run/execute/understand the codebase coming from Captivate 5.
    There is, however, a workaround: rather than inserting the Cp swf into PPT  (for Presenter output), you can link to the Captivate content as externally  accessible content.  An obvious drawback here is that you'll have another  browser window to contend with, but there are a few upsides to this approach as  well; namely, if your Captivate content ever needs to be updated, you can do  that without ever having to republish your Presenter course.  I've utilized this  approach a number of times, and although there's some upfront homework to deal  with, it's been a time-saver in the long term.
    Now, as for the Flash file/buttons you mentioned....I have a quick question  for you: are you coding your Flash piece using Actionscript 3?  Again, as weith  Captivate 5, anything with AS 3.0 in it will be completely ignored in Presenter  7.  Also be sure that when you set up a Flash file (and definitely before you  publish/export your flash content) you'll need to set the Publish Settings for  Actionscript 2.0.
    Until Adobe updates Presenter, this is going to be something we all will need  to deal with.
    Rob
    http://www.robrode.com/yabb/

  • How to add a Captivate 5 Project into RH for Word?

    I have to add a captivate simulation project into my Help project, and was wondering if anyone knows if it is possible. I searched Captivate's help, and they say you can with RH HTML, but I am currently using:
    1. RH for Word Build 8.0.0.203
    2. Captivate 5.0.0.596
    The Help project is a Single Source Layout with WinHelp 2000 primary layout. Any ideas?
    eangel

    Hi Rick,
    I did test the url from my browser's address bar, and it worked fine. I cannot get this to work from the help project.
    Hope someone can help.
    Thanks,
    eangel

  • Label of attribute when used as View Criteria item with Bind Variable

    I've a VO attribute used in a named search with this requirement:
    The attribute provides has an optional View Criteria item that has a bind variable operand. The bind variable is in the WHERE clause. The attribute has an LOV. The choice list for the specified View Criteria item should display the label "Effective Release". However, in all other contexts, including the search results table and the dropdowns the user can optionally add in an advanced search, the label displayed for the attribute must say "Release".
    In other words, the default label for the attribute should be "Release" in all but one context - which is that when the dropdown list for the viewCriteria item using the bind variable is displayed, the label should say "Effective Release".
    Note that if the user moves to Advanced Search and selects adds the attribute as a search criteria, this latter usage should be labeled as "Release". (in this case, in other words, the dropdown that displays by default and has the bind variable operand is labelled "Effective Release", the one the user added in advance search is labelled "Release")
    here is the View Criteria item source xml:
          <ViewCriteriaItem
            Name="ReleaseId1"
            ViewAttribute="ReleaseId1"
            Operator="="
            Conjunction="AND"
            Value=":v_ReleaseId"
            GenerateIsNullClauseForBindVars="false"
            ValidateBindVars="true"
            IsBindVarValue="true"
            Required="Required"/>I've experimented by putting "Effective Release" as the label for the bind variable as below. However, ADF does not use that value to display, it defers to the attribute value:
    <Variable
        Name="v_ReleaseId"
        Kind="viewcriteria"
        Type="oracle.jbo.domain.Number">
        <Properties>
          <SchemaBasedProperties>
            <LABEL
              ResId="EFFECTIVE_RELEASE_LOV"/>
          </SchemaBasedProperties>
        </Properties>
      </Variable>The reason for the requirement, if it matters, is that the View Criteria item with the bind variable ("Effective Release" queries a range of values using the analytic function rank(); the bind variable is in the WHERE clause. Otherwise, the dropdown that can be added in advanced search ("Release") looks for exact matches on the attribute value. So since the search functionality is different, the label should be different.
    Am using 11g.
    Thanks for your help.

    Hi
    I have found that when using validation type Key Exists and the VO is in the local application, then the bind variable is available in the Create Validation wizard. When I try and create a validator on a VO that is core to all my applications, then I put that VO into an ADF library, the bind variable parameter is not available for mapping to my entity object attribute, even though I can select the VO to create a view accessor from the ADF library.
    Possible bug?

  • How to use swf object

    Hi have been trying to get my head around how to use swf object, I know very little javascript and so am having difficulty in modifying the code to suit my needs.  This is my page which I have used dreamweaver cs3 and have used insert>media>flash and it is working well but does not validate.  I would really appreciate if somebody could write the exact html code I need to convert this to swf object.
    http://www.kimberleywebdesign.com.au/Links.html

    You should be able to just declare a variable outside of the onComplete function and assign it the loaded object when the file loads...
    var loadedSWF:MovieClip;
    function loadComplete(e:Event):void {
         removeChild(old_mc);
         addChild( DisplayObject(LoaderInfo(e.target).content) );
         loadedSWF = MovieClip(e.currentTarget.content);
    function doStuffToSWF(){
          loadedSWF.something....

  • Can i use cl_gui_alv_tree_simple Manually add node(row)?

    hi, experts.
    I use create object type ref to cl_gui__alv_tree_simple.
    after display ,can i add row or node by hands.
    if can ,which method?
    thanks~~~

    Hi Angela,
    i change to use cl_gui_alv_tree to create tree. as the refresh_table is not public method
    This is wrong... refresh_table method of CL_GUI_ALV_TREE_SIMPLE is public, while the method TREE_ADD_NODE is protected.... That's why I told you to define a local inheriting class so you can use the latter...
    But OK if you want to switch to CL_GUI_ALV_TREE... So If I correctly understood your new issue, it is now a problem of freeing your tree object... Are you using the destructor method FREE from CL_GUI_ALV_TREE? after using it you should also clear your variable that hold the tree reference (with a CLEAR statement e.g.).
    edit: OK, just understand what you mean refresh_table is indeed private on CL_GUI_ALV_TREE! I though you were refering to CL_GUI_ALV_TREE_SIMPLE...
    To refresh your tree with that class, you can use the method DELETE_ALL_NODES, rebuild your tree and use the method FRONTEND_UPDATE afterwards...
    cheers,
    Manu.
    Edited by: Manu D'Haeyer on Dec 29, 2011 10:31 AM

  • Opening External Files using SWF

    Hi all,
    Is there a way to open external files using swf? I have gone
    through a number of forums and all seem to tell me to open with a
    window projector. my problem is, I need to embed the swf into a
    html to be viewed online... So I need to do it in swf format.
    Any ideas?

    When you say 'external files' I presume you mean local files
    on the users hard drive.
    If that's true:
    When you say 'open' what do you mean? It could mean to open
    and load a text file/xml file or another swf in flash or it could
    mean to launch a document in its native application e.g. .doc
    launches word etc. Flash projectors can do the first thing, but not
    the second thing. And you need to know the path of the file because
    I don't believe you can retreive it from the filereference browsing
    support. 3rd party tools are necessary to really add a lot of file
    system support to projector applications, and then you can do both
    things mentioned here, without the limitations of flash player
    security which is only slightly reduced with regular projector
    files.
    The filereference class in flash is primarily for
    upload/download support. You can't 'open' local files with it.
    There is, to my current knowledge, no way you can do that with
    flash in a html page directly.
    The only way I can think that it might be possible (untested)
    would be to have a separate local MS Office (or any other host for
    a flash activex that gives filesystem access) with some embedded
    flash in a document that (perhaps) could talk via local connection
    with your html page content and which would in turn talk to its VBA
    host to request local file system activity. I don't know if this
    would work because I've not used localconnection, but perhaps it
    might.

  • How do I access Captivate 6 variables from a playbar?

    I need to access Captivate 6 variables from a playbar. Does anybody know how? I know the parent/child relationship has changed from previous versions.

    Dear Herod,
    Thanks for the request, To program a FPGA target you must have the module
    Labview FPGA. So you cannot directly access the FPGA with LabWindows/CVI.
    But there is a way. Firstly create with Labview a Host VI that communicate with
    the FPGA target and compile this VI into a dll and then call it from CVI program.
    See the following link:
    Can I Use a Programming Language
    Other Than LabVIEW with a Reconfigurable I/O Board?
    LabWindows/CVI support for PXI 7831 R
    Best regards,
    Nick_CH

  • Airport setup asst. doesnt work.  Is there way to use Windows to add airpor

    Airport setup asst. doesnt work. Is there way to use Windows to add airport express to my current linksys network so that my iTunes will play through my stereo?
    Previously the air-assit recognized the air-exp unit but kept asking for a password to continue. I tried passwords like admin and public but nothing worked. Then Windows network connections kept trying to connect my laptop to the internet using the air-exp. Don't remember what I did to fix that problem but now my laptop doesn't try using it to connect me to internet anymore.
    However, now air-asst. doesn't read the air-exp anymore. Windows network connections DOES read it now but doesn't try to use it anymore to connect me to the internet.
    I have a linksys WAP and separate linksys router. If memory serves, when I firt got the air-exp about 6 months ago I could not connect either and Apple tech support had to help me. I think, but not sure, they had me use Windows to add the air-exp to my wireless network. Also if my memory serves me, but not sure, I had to type in either some IP or MAC addresses in order to get the air-exp to connect to my existing network. I DO remember thinking after it was finally working that "Wow, this is definately NOT a plug and play thing." It wasn't very easy to set up.
    I lost my laptops wireless connection last week and couldn't connect to my network and had to call linksys tech support. They had me input a new IP and DNS address because somehow my laptop "lost" the previous ones. Since then I have not been able to use my air-exp to connect to my stereo.
    I have called Apple tech support but since my 90 days is up they want to charge me $49.95 for up to five days worth of tech support. Which I think is a rip off becau linksys will help you out at anytime for fee but that's a topic for another discussion group. Common Apple, how about a $10 charge for one day of tech support, or even just 15 minutes worth to get my gear working again?
    Anyway, if anyone knows of any on-line walkthroughs of how to deal with these airport express set-ups or problems please let me know. Or, of course if anyone can walk me through this that would be even better. THANKS

    Thank you for your help.
    When I run air-util a window called base station chooser comes up and all the fields are blank. When I push "re-scan" nothing happens. When I push "other" a window pops up asking for IP address and password. I typed in the IP address given to me from Linksys tech and tried to move on but it came back asking me to fill in the password. I tried the default linksys password "admin" but it came back with an error.
    Do I hard (factory) reset the air-express by simply pushing the reset button or do I have to hold it in while I plug it in or simply push the button for a certain length of time?
    Thanks again.

Maybe you are looking for