Listen to submit even on Captivate quiz?

We have a Flash SWF which integrates a Captivate quiz (also a SWF file). Currently, the parent SWF and SWF quiz don't really communicate with each other (other than the parent quiz loading). However, we would like to be able to invoke a function on the parent SWF when the user clicks on the button 'Submit' the quiz.

My first thought was to have the quiz Captivate to call a custom function that lives in the parent. Unfortunately, it's not like I can call custom functions (other than JavaScript) to the quiz. So, my second thought was to have the parent SWF listening to an event may be thrown by the quiz. I can't find any documentation that leads me to believe that such an event is called on submit. Does anyone know if there is such an event and I was able to listen to than even from parent SWF? Thank you.

I just put in place a variable in the captivate swf file called something like userSubmitted and set the initial value to 0.

Then have the value changes to 1 when the user submits their response, perhaps enter the next slide or at the exit of the slide to submit.

So it depends how you load the Captivate swf file in, I accept that something like that.

container var = _root.createEmptyMovieClip ("container", 10);

_root. Container.loadMovie ("Captivate.swf");

This might work in this case:

function checkSubmit(){
     var wasSubmitted = this.container.userSubmitted;
     if (wasSubmitted != null && wasSubmitted  ==1 ) {
          //Do what you wanted to do
     } else {
          //Keep listening
     }
}

//Does this make sense?

//**Note: this is As2, but you can probably convert to As3 with something similar
//***Note: If     

addEventListener(Event.ENTER_FRAME, checkSubmit);

//doesn't work, then you might be able to run the check with a setInterval();

I hope this helps a little

Tags: Adobe Captivate

Similar Questions

  • The listener is down: even if a listener with the name "AUDITOR", is running on this host at the port: "1521", it has not started using "the target LISTENER. ORA file.


    I moved a listener on a host in a House different oracle. The headset works fine, but EM 12 c shows that the listener is down with the following summary:

    The listener is down: even if a listener with the name "AUDITOR", is running on this host at the port: "1521", it has not started using "the target LISTENER. ORA file. CORRECTIVE ACTION: To monitor this "EM listener target" with its current configuration, you must stop the process of listening running and start it using the Listener parameter file: opt/oracle/product/12.1.0.2/network/admin/listener.ora. Alternatively, you can update "this target LISTENER. Location ORA setting"with the location of the listener running, which started using the: opt/oracle/product/11.2.0.3/network/admin/listener.ora.

    EM 11 g, I simply changed the configuration of the listener for the different oracle home, argued the change and in a few minutes the listener would show that 'UP' with the oracle of new home. I upgraded to MS 12 c (12.1.0.4) and can't find how to do this. Can someone give me the procedure.

    Thank you

    Ron

    Hi Ron,

    Can you please do the following?

    -Create a for the listener listener.ora file, stop and start the receiver using the listener.ora file. If the file is located in a default location, set the TNS_ADMIN environment variable to that location before you start the listener.

    -Log on to the EM console, go to the homepage of the listener.

    -In the Oracle Listener menu, select target Configuration > Configuration of the analysis.

    -Ensure that the parameters, including the Listener.ora directory, are properly.

    Kind regards

    -Loc

  • Captivate quiz 7

    I've implemented a multiple-choice in captivate quiz 7 and want to know if instead of the participant having to press the button send to receive the correct response or not, they can get this answer by selecting the option of response only, they just need to select a button like this?

    I tried to explain the question slide design at length in these two blog posts:

    Question Question slides in Captivate - Captivate blog

    Question Question slides - part 2 - Captivate blog

    You'll find a way to skip a step of the submission process, but be careful: trainees tend to need time to confirm an answer. With your workflow, they will not be able to change their answer more, it will be passed and they will lose an attempt at the level of the question if they act too quickly. Not that user friendly IMO, but I got along the career of Professor.

  • Adobe Captivate Quiz results Analyzer

    It is still available for the 8 version of Captivate?

    Hello

    Yes, Adobe Captivate Quiz results Analyzer version 8 comes with 8 Captivate used to analyze the results of course captivate in a better and organized way.

    Kind regards

    Ajit

  • How you report results by e-mail - 8 Captivate quiz?

    How you report results by e-mail - 8 Captivate quiz?

    More info...

    .. .on the send results by e-mail?

    I know not glib, but there are essentially two approaches:

    1 figure how do a "mailto:" link that passes the information you need (partitions, etc.) to the user's email client.

    Problem A: users will need TO have a client installed messaging, like Outlook, Thunderbird, etc.

    B problem: users will see that email content, editing and will have to manually click 'send '.

    2 set up a program of mailer on a Web server that your Captivate project can 'POST' the data to.

    Problem: you need a Web server, a program of mailer and a page that will receive the posted data (PHP, JSP, ASP, .NET)

    B problem: you will need some kind of security around this script mailer or spammers surely find and use it to send their own spam stuff.

    Do you REALLY need to send by e-mail?

    May be preferable to an internal server.

    http://blogs.Adobe.com/Captivate/2010/08/reporting-the-quiz-results-to-a-local-server.html

    (this is old, 2014, but gets the idea across)

  • How can you tell 6.0 Captivate quiz answer is correct?

    This might be a really stupid question, but I just can't understand it!

    How can you tell 6.0 Captivate quiz answer is correct?

    Thank you

    Joey

    Hello

    Thank you to the Adobe community.

    The answer selected on the question slide is the right answer.

    Thank you!

  • Adobe Captivate Quiz results - standings

    Hi all

    I was wondering if someone can help me with the captivate quiz feature.

    I created a questionnaire with a dozen questions, there is also a slide of results which works very well.

    What I need is the user to give a grade based on these results.


    For example. If you scored between 80 and 100% - you get an A

    Between 70-80% - you get a B

    and so on...

    This info will then be caught and put in a certificate widget so that users can print their results and their rank.

    Does anyone have an idea how I can take their final score and give them a note?

    Do you not use if statements or is there something easier?

    Any help would be great!

    Thanks in advance.

    Hi markrisp,

    You can view the note on the result slide after writing a small program in the 'Actions' dialog. You can try the following procedure.

    On the result slide Add 2 legends - Grade A, class B (attached Snap). In each of these legends, go to the 'Options' tab and uncheck the "Visible".

    Now, select project > Actions > Variables tab, add 3 variables (a, b, c with the initial value = 0). (Number of variables equals the number of ranks)

    Specify a name for the script in the action Advanced tab and use the following logic.

    If (cpInfoPercentage greater than or equal to 80)

    Start

    See the TextCaption ID (for the Grade A text caption)

    end

    or else

    Start

    a: = 1

    end

    Check if (a is equal to 1) and (cpInfoPercentage higher or equal to 70) and (CpInfoPercentage is less than 80)

    Begin

    display text Caption ID (Grade b text caption)

    end

    or else

    Start

    b: = 1

    end

    Check if (b is equal to 1), and (cpInfoPercentage is less than 70)

    Start

    See the TextCaption ID (for the Grade C text caption)

    end

    Or else

    Start

    c: = 0 / / this expression is redundant, but it should still be included in the Else can't be empty

    end

    Does this help, let me know

    Thank you

    Ashwin

  • Captivate Quiz rear function 9 Mac does not

    I created a quiz and check the back but when I play a preview of the back button has no effect. The next button is also hesitant, or simply suspended

    It's a random quiz with 10 questions pools - this looks ok

    I have edited the following buttons and return to accompany the rest of the presentation

    users have infinite attempts to pass the test

    "Back" button is desperate :-(

    My most visited blog is this one: the Question slides in Captivate - Captivate blog

    It turns out that you're not the only confused by Quizzing functionality. ATTENTION: This was written for versions before 9. 9 there are important changes, one of them being that it is so more confusion between Skip and, secondly, because 9 dedicated buttons during review (Back and Next). I should update a lot of blog posts, but the time is always the problem.

    As for your other questions, I have recently set a course with similar requirements. Pass mark was set at 100%!

    I took this approach (but that means out of navigation between slides of question and prevent that users can freely navigate the slides in question):

    1. Set the number of attempts on micro level Question
    2. On question slides you keep only the submit button and, possibly, the "Clear" button (only effect before submitting)
    3. Uncheck navigation back in Quiz preferences
    4. Check the option 'hide PlayBar during Quiz' If you use a bar of reading (but I recommend browsing custom, or at least disable the progress bar or use a technique to avoid rubbing this progress bar).

    With this configuration, the user must answer each question correctly before being able to advance to the next question.

    Quiz level in this case you must only an attempt.

    This is not your current configuration, you can specify what is the pass mark? You are aware of the fact that when you offer multiple attempts on Quiz level, this Retake Quiz button on the slide to score will reset all responses, not only the wrong answers? Depending on the number of questions, this can be even more frustrating than having to answer each question correctly.

    This scenario would be:

    • Allow one (or maybe two) attempts at the level of the Question
    • Allow multiple attempts on Quiz level and have the button on the slide to score. You speak review no, but read my blog post about the confusion between the recovery and examination.
    • Set the action to success on Quiz level to go to last slide (not to keep score as last slide slide) where you provide a close button.
    • If you want to give a course button recovery so that button recovery by default (for the quiz), you will need to create a form button, only the custom button allowed on a slide of score (see: buttons on slides of Question/Score of Captivate 6?-Captivate blog )
  • Adobe captivate quiz: click anywhere or press on 'y' to continue

    Yes. I'm not click anywhere or press on 'y' to continue

    I want that he should go to the next question automatically once the button submit.

    I use captivate 8


    yes.jpg


    To do this, you just disable the captions of your comments.  Deselect them in the properties of each quiz question slide.  Then, as soon as the user presses the button submit he will assess their response and go directly to the next question.  But your user name so don't know if they got the question correct or not.

  • Captivate quiz - adding an additional field to report on the LMS

    I have a Captivate 100 question quiz to report to an LMS.  We can get all the information with a report of interactions between all.  The contractor giving the test wants to be able to refer to the section of a manual which the questions come from. The only way I was able to do this so far is to put the mention of the issue at the end of the issue, and then change the font to white color.  And then it appears on the report of the LMS.  Is it possible to add another field or something that will also be visible on the report of the LMS, but is not visible to the person who takes the quiz?

    There is currently a bug in Captivate 7 (maybe even in 6) which causes this problem where an interaction also ID change the slide following, as well. If all goes well, that will be corrected in version 8.  But in the meantime, you just go down the list of the IDS of Interaction and make sure they are all unique, that otherwise you will get error messages.  I use the function of Interaction ID prefix in Quiz settings do to precede rights holders Captivate unique number to each question in the quiz.  The prefix that I use is a code which clearly indicates which module this quiz question comes.  But you can go further and indicate what the question is about whether you want.

  • Captivate Quiz any Coursemill said always failed

    I create a quiz in Captivate 3 and import the content of Coursemill. I took the quiz to use SCORM reporting. When I did the quiz downloaded in Coursemill, it always reports I missed the quiz even if I had 100%. No real score is returned, he reported just failed. I tried almost all combinations in Quiz preferences to try to make this work, but I must be missing something.

    Any ideas would be very appreciated.

    Thank you Leanne

    Thanks Andrew... that worked!

  • captivate quiz results slide

    Hello

    I am a beginner on captivate?

    In my model, I have 2 questions on quiz questions and press end 5.

    When I finished, the result of the slide was OK, but now I can't get the right result: it seems that 1 is included in the result.

    When I publicate the model (flash), issues don't appear as 1/5, 2/5 but 1/1, 2/1... 5/1. It seems I have only one issue.

    What am I wrong?

    Thanks for help. Martine

    If you use Captivate 9, simply use Questions to check previous knowledge as your quiz question slides.  These are not counted as part of the quiz.

  • Delay feedback for multiple choice - 9 Captivate quiz questions

    Hello

    Captivate 9, is there a way to delay your comments on responses to answer until the quiz is completed which is at the stage of the examination?

    Captivate 9 by default is to show comments for each question immediately after the student has answered the question. It is not appropriate for my needs.

    Thanks and regards,

    Grant Bailey

    If I understand what you wanted? Have you used one of the scenarios to have feedback not appearing does not immediately? My only explained methods how to 'hide' the immediate feedback.

    This 'new' question: Yes, can be done, but you will need to use shared (or advanced) actions to raise the event to enter for each slide of the questionnaire.  It will be a lot of work, you will need to store the answer to each question slide (at least for the wrong answers) in a user variable. This answer will be in the cpQuizInfoAnswerChoice quiz system but variable is a variable system reused. You must prepare your various comments text containers (for every possible situation) which are hidden initially, but indicated on the questionnaire slide when in playback mode. This can be done with a conditional action checking the cpInReviewMode system variable (Boolean, has a value of 1 when it is in playback mode).

  • Submit MY score of quiz from the LMS, not the results of "native quiz."

    I got better stocks advanced in Cape Town and as a result... I want to present my results personalized for the LMS and not quiz the method of "slide quiz" Captivate.

    I know that I need JavaScript to communicate with the LMS... but how I put 'my_result' in the presentation of quiz score Captivate?

    Thank you!!

    ~ Sean

    They are certainly read only if you try to set in Captivate. Not so sure if everything is exposed in JavaScript. Not really have time right now to try it all. Get to your script, try this:

    Put this function at the head of the HTML page.

    function submit_score()

    {

    var cp = document. Captivate;

    var sendScore = cp.cpEIGetValue ("m_VarHandle.quiz_score");

    SCORM_SetValue ("cmi.core.score.raw", (sendScore) Number);

    SCORM_SetValue ('cmi.core.lesson_status', 'spent');

    SCORM_Finish ('EXIT_TYPE_FINISH', 'true');

    }

    Now you last page, click a button and run JavaScript

    submit_score();

  • Re-insert the 8 Captivate quiz results slide

    I created a course of six modules, which all have a short quiz at the end. During the preview of the project with the project manager, quiz slides do not move forward in the preview of the course (and no more than the bar room). I had to go and remove the quiz slides and slides of results in order to highlight the entire course of my manager.

    Now that I'm trying to work on game shows, I am able to insert question slides but not the results slides that I would appear at the end of each short quiz.  This could be a framework global quiz I should change? Is there a way I can reset the quiz in the course and start from the beginning (with slides of results displayed)?

    I realize it's probably 101 stuff for everything that you users of Captivate veterans, but please bear with me... I am a newbie to Captivate.

    Thanks in advance for your ideas!

    I am little confused: you can have only a single slide quiz and 01:20 in a CP-file (requirement of SCORM) and you seem to talk about several slides of results?  That should mean that you have created custom intermediate score slides as I explained here: Intermediate Score slides - Captivate blog

    Or each module in a separate cptx file? The slide of score will not be deleted at all, it's just hidden. You can make it visible again using preferences, settings, "Score at the end of the Quiz Show" Quiz

    Regarding the reset of the questions that is possible using the recovery button. Return to the user will be sent to the first slide question or being marked. This means that you will have to provide more than 1 attempt on Quiz level. More information about the slide in question/score:

    Question Question slides in Captivate - Captivate blog

    Question Question slides - part 2 - Captivate blog

Maybe you are looking for

  • Impossible to unlock

    I have LG front with Andriod 4.4. I have the latest version of Skype on my phone. for some reason, one of my friends is "blocked", but the software won't let me unlock. I checked the Skype desktop version and it is not blocked. It is on my list of fr

  • the color of the floor of the basketball?

    I'm color blind. I need to color a background graphic to resemble a basketball floor (i.e., wood hard bright color). What are the values RGB do those of you who see the colors well suggest? Thank you Lynn

  • VISA PM6000 time-out

    Hello I'm trying to control a Voltech PM6000 over LAN with LabVIEW. So far so good, I can communicate with the instrument after adding it to the MAX as a resource (RAW with port 36003) TCPIP. However, if I ask more by VISA READ bytes available in the

  • problem with nfs run

    I have computer laptop hp 2000-2110, but when I run nfs running on it, the game runs slow what to do

  • Don't Win 7 Home Premium no local users and groups under computer management

    I am trying to create local groups, but when I go into computer Managemmt as an admin there no option groups in the tree.  Aide said it is in "computer Management\System Tools\Local and Groups\Groups users", but the only options I have under system t