Is it possible to pass the score of the memory game as a variable using javascript?

Hi,
I would like to create a score table for the memory game. For that I need captivate to pass the last sore to a form/page. In the memory game widget there is a variable displayed: memGame_var. Is this really the memory game score, and do you think that I can achieve my goal using javascript?
thank you!
Heloisa

Beware: you have to create a variable, it is not automatically created. And you don't have to use the same name, but in this case for some reason it is not possible to use capitals in the variable name.
Contrary to some other games, this variable will retain the score indeed.
Lilybiri

Similar Messages

  • Can you add the score of a hockey game to a video?

    Hi,
    You know how they have the score in the top left hand corner of sports, well I would like to have something like that but for the video of my hockey game. I would like to overlay it my video.
    I would like something like this, but for mac, preferably looking more like like what they have on tv(so a little more subtle and less like an actual scoreboard in an arena)
    http://download.cnet.com/Hockey-Scoreboard-Standard/3000-7427_4-10518914.html
    Brandon

    I don't think that there is any sort of plug-in for FCP. This looks like a desktop application and even if it was for Mac, it would really be difficult to include into your edit. If you want to be ballsy you probably could do some screen capture for this app and then convert it to an mov somehow, but that application would have to match your actual hockey game somehow.
    It'll be a lot of work but if you really want to do this then you will have to create a graphic of your own from scratch, possibly through Motion or After Effects. But you are talking about a lot of work.

  • I play scrabble free and the screen shrunk so I can't see the score at the top

    I play scrabble free on I Pad and the screen shrunk in the game just enough so I cannot see the score at the top.

    You may have Zoom turned on. See:
    iPhone and iPod touch: Home screen icons are magnified or large

  • Okay so my iphone says its connected to the internet but the internet only works for games so i cant use things like facebook twitter or youtube PLZ TELL ME HOW TO FIX THISf

    Okay so my iphone says its connected to the internet but the internet only works for games so i cant use things like facebook twitter or youtube PLZ TELL ME HOW TO FIX THISf by the way it an iphone 4s and i have never encountered this problem before my dads iphone is the same after we updated to ios 8.1.1 but my mum hasnt updated yet and hers is fine

    If deleting then reinstalling the apps doesn't work, then contact the app developer for support.
    It sounds, though, like your internet connection is simply very slow.
    Try making a backup, then restoring the iPhone as new, and testing again.

  • Change the value of a SharePoint List lookup control value using javascript

    hi,
    could you please help in changing the value of a SharePoint List lookup control value using javascript.
    Please note that i have to change the lookup value which is in the form of a drop down from the infopath form.
    Thanks

    https://stackoverflow.com/questions/5678210/select-dropdown-menu-option-with-javascript
    Does that help?

  • Is it possible to pass an argument to the function triggered by an event handler?

    Hello All,
    Trying to migrate my way of thinking from AS2 to CS4/AS3.
    Ok, I have 2 buttons on the stage. Each button does almost
    the same thing, so I want to create a single function, and each
    button calls that same function (we'll name that function
    "Navigate")... however, the function will need to end up doing
    something different dependant on which button was clicked.
    So, previously, in AS2, I would've added some code onto the
    buttons themselves with on(release) methods (see CODE EXAMPLE 1)
    So, each button effectively calls the Navigate function, and
    passes a different frame label to the function.
    Now, I'm trying to recreate this functionality in AS3. As you
    all know, on(release) has been done away with (still don't know
    why), but we now have to use event handlers, so I'm trying to
    figure out a way to pass a different frame label argument to the
    Navigate function. Currently I can achieve that by using a switch
    statement to test which button was clicked, and act accordingly
    (see CODE EXAMPLE 2).
    In this over-simplified example, this works fine, but in the
    real world I'm going to have more than 2 buttons, and the Navigate
    function would probably be much more complicated...
    So, I would like to be able to pass an argument(s) (like in
    the AS2 example) to the Navigate function... perhaps in the
    addEventListener() method? I tried this, but got compiler errors
    (see CODE EXAMPLE 3):
    The Million Dollar Question:
    Is it possible to dynamically pass/change an argument(s) to a
    function which is triggered by an event listener? (Or is the event
    that triggered the function the only argument you can have?)
    If this isn't possible, I'd greatly like to hear how you
    folks would handle this (other than having a switch statement with
    12 cases in it)???

    I've found a couple solutions that I'll post below for
    prosperity...
    You could create a Dictionary keyed by the prospective event
    targets and store any information in there you want associated with
    them. Then the navigate function can check that dictionary to get
    it's parameters:
    // Code //
    Button1.addEventListener(MouseEvent.CLICK, Navigate, false,
    0, true);
    Button2.addEventListener(MouseEvent.CLICK, Navigate, false,
    0, true);
    var buttonArgs:Dictionary = new Dictionary();
    buttonArgs[Button1] = "FrameLabel1";
    buttonArgs[Button2] = "FrameLabel2";
    function Navigate(e:MouseEvent):void{
    gotoAndStop(buttonArgs[e.target]);
    This in my eyes, is about the same amount of work as writing
    a long switch statement, but a little more elegant I suppose.
    I had a little trouble understanding the next solution,
    because I didn't quite understand an important piece of information
    about event listeners. The addEventListener () requires a Function
    as the 2nd argument passed to it.
    It didn't quite click until someone pointed it out to me:
    Navigate is a Function...
    Navigate("FrameLabel1") is a Function
    call...
    So by writing just
    Navigate, I'm not actually calling the function at the time
    of the addEventListener call, I'm just supplying the event listener
    with a reference to the name of the function. Then, when the
    listener is triggered, the listener will call (and pass a
    MouseEvent argument to) the Navigate function.
    Conversely, by writing
    Navigate("FrameLabel1") as the 2nd argument, the event
    listener trys to execute the Navigate function at the time the
    addEventListener is instantiated. And, since, in this example, the
    Navigate function returned as ":void" a compile error would occur
    because as I stated, an event listener requires a Function data
    type as the 2nd argument. This would basically be like writing
    addEventListener(MouseEvent.Click,
    void, false, 0, true)
    However, there is a way around this... basically, instead of
    defining the Navigate function as returning a void data type, you
    define it as returning a Function data type, and then nest another
    function (which actually contains the actions you want to perform)
    inside of it.
    Button1.addEventListener(MouseEvent.CLICK,
    Navigate("FrameLabel1"), false, 0, true);
    Button2.addEventListener(MouseEvent.CLICK,
    Navigate("FrameLabel2"), false, 0, true);
    function Navigate(myLabel:String):Function{
    return function(evt:MouseEvent):void{
    gotoAndStop(myLabel);

  • Whats the score with the gps on the n96?

    when i start the gps maps thing it starts looking for a WLAN connection for some reason. then it never finds a signal even though my sat nav has one right next to it.
    do i have to pay to use the feature even if i have the UK mpas on my memory card(which i do)?
    rodgerq

    Hi,
    About the WLAN connection being sought when starting up Nokia Maps: you can disable or change this in Options -> Settings -> Network
    The usage of the Nokia Maps application is completely free. If however you would like to have voice guidance during your navigation, or auto-recalculation if you divert from your planned routing, then you will need a navigation pack license. Prices can be found if you go on Nokia Maps to Options -> Extra Services -> Add Navigation
    About not finding a GPS signal, please keep the following in mind :
    - for good GPS reception you should go outdoors, and not in the neighborhood of high buildings
    - the first time your handset will take a long time (up to 20 minutes) before it finds a lock, this is completely normal, and will change from the 2nd time
    - you need to slide your phone open (so that they keypad becomes visible) as the GPS receiver is hidden directly beneath the keypad
    - you need to keep your phone in an angle of approximately 45 degrees

  • How to let the character in my flash game make a jump using AS3?

    i want to make the character in my flash game make a jump when the player presses a key,e.g. 'space',even the player release the key instantly,the character will still finish the complete jump process.Hope somebody will give me some advice, Thank you so much!!!

    what's the problem?

  • Check whether the checkbox in a form is checked or not using javascript

    when we click a check box (TBD) it should set the value of a field to a default value '1234'. If we uncheck the checkbox, it should set the field as Null.
    I have defined the checkbox as STATIC2:;1234 in form.
    I used the onClick event on the checkbox and called a function to update the column.
    Inside the function i am checking whether the check box is checked using
    if (document.getElementById('P4_TBD').checked=true)
    document.getElementById('P4_COL1).value='1234';
    else
    document.getElementById('P4_COL1).value=''; /* or $s("P4_COL1", "");
    it works only when check box is checked. If check box is unchecked it is not setting the field as Null.
    I checked document.getElementById('P4_TBD').checked=false instead of else clause. it is not working.
    Please help me on this issue.
    Thanks,
    Ravi

    When you are using checkboxes or option button, the ID for your button is using an index. If you create a group of 3 checkboxes with the ID = "MY_CHECKBOXES", APEX will create the following IDs for each of your options : MY_CHECKBOXES_0, MY_CHECKBOXES_1 and MY_CHECKBOXES_2. If you want to test if the first checkboxe is checked, you'll use document.getElementById('MY_CHECKBOXES_0').checked.
    I didn't test for a lone checkbox, but I expect your checkbox to be "TDB_0" not "TDB" who is the frame around your checkbox group.

  • Is it possible to pass  a value from the list to another page..

    Hi everyone,
    I created a (list region) on a page and there is a FORM on the same page.I am trying to pass a value from that page to another page when the user selects one of the list entries.I tried with SET THESE ITEM.. WITH THESE VALUES in the list entries like
    SET THESE ITEMS--P13_TESTING_ID
    WITH THESE VALUES --&P10_ID.
    but its not working for me.I want to pass that value only when the user hits that list entry.Is it possible to do.
    Thanku
    phani

    Assuming P10_ID is an item on the FORM, I think , the form would have to be posted (submitted) for the item's vaue to be available in session state.

  • Can i save the scores of my apps/games with a backup?

    Can i save my scores of my games on itunes with a backup?

    Yes, this is possible. However, mind that you can't restore those back to the iPhone separately (i..e. at your own wish).
    I can confirm that game data is backed up by iTunes as my son erased my wife's game data for pet rescue.
    I have an iTunes backup of the phone which was made just before deleting the pet score game score and therefore which should contain it. However, in my case, I am tearing my hair off as I don't want to fully restore my iPhone with the iTunes backup and only get the game scores from it. Which could prove impossible.

  • Is it possible to pass a parameter to ON_DEMAND process?

    Hi guys.
    In AJAX, is it possible to pass a parameter to ON_DEMAND process?
    (I get value in javascript and want to pass it to on_demand process...)
    Thanks.
    Mike

    Hi Mike,
    Yes, provided you have set up an Application Item to receive the value you can use this within your PL/SQL code.
    I've detailed what needs doing here:
    http://htmldb.oracle.com/pls/otn/f?p=40042:1
    username/password: guest/guest
    Regards
    Andy

  • Help! Quiz - need to count score at the end

    I have a working quiz but I want to know how to get the score of the number of correct answers the person got but I can't seem to figure out the code for it. This is my code below. Can someone help me?
    stop();// movie clip waits on buttons
    gloss_mc._visible = false;// set the gloss initially to not visible
    score_int = 0;// score on the quiz is initially zero
    // button functions
    q1_btn.onRelease = function() {
        scoreQuiz_fnc("1");
    q2_btn.onRelease = function() {
        scoreQuiz_fnc("2");
    q3_btn.onRelease = function() {
        scoreQuiz_fnc("3");
    q4_btn.onRelease = function() {
        scoreQuiz_fnc("4");
    function scoreQuiz_fnc(ansSelected) {
        trace("scoreQuiz_fnc ("+ansSelected+")");
    // define answer key
    answerkey_arr = new Array();
    answerkey_arr[1] = '2';// the answer to the question on frame 1
    answerkey_arr[2] = '4';// the answer to the question on frame 2
    answerkey_arr[3] = '3';// ... etc.
    answerkey_arr[4] = '4';
    answerkey_arr[5] = '3';
    answerkey_arr[6] = '1';
    answerkey_arr[7] = '3';
    answerkey_arr[8] = '4';
    answerkey_arr[9] = '1';
    answerkey_arr[10] = '2';
    glosskey_arr = new Array();// create array of gloss responses
    glosskey_arr[1] = 'The correct answer is: Congenital heart defect.';
    glosskey_arr[2] = 'The correct answer is: Four areas of the heart are defected because "tetra" means four. ';
    glosskey_arr[3] = 'The correct answer is: Two left valves because there is only a right and left valve.';
    glosskey_arr[4] = 'The correct answer is: Ventricular Septal Defect because this is when there is a hole (septum) between the right and left ventricles..';
    glosskey_arr[5] = 'The correct answer is: Babies because this condition congenital meaning at birth.';
    glosskey_arr[6] = 'The correct answer is: There is not enough oxygen carried within the blood which causes a discolouration in infants.';
    glosskey_arr[7] = 'The correct answer is: Heart murmur because this condition occurs at the heart.';
    glosskey_arr[8] = 'The correct answer is: After crying, during bowel movements or the occurrence of kicking legs in awakening.';
    glosskey_arr[9] = 'The correct answer is: Shunt because you cannot place the other objects in a heart.';
    glosskey_arr[10] = 'The correct answer is: Heart.';
    function nextQuestion_fnc() {
        gloss_mc._visible = false;// hide the gloss
        nextFrame();// advance timeline to the next question
    // score the answer selected by user
    function scoreQuiz_fnc(ansSelected) {
        trace("For question "+_currentframe);
        trace("scoreQuiz_fnc("+ansSelected+")");
        //if the answer key for this question matches the answer selected
        if (gloss_mc._visible == false) {
            if (answerkey_arr[_currentframe] == ansSelected) {
                trace("Correct");
                score_int = score_int+1;//add one to the score count
                nextFrame();// go to next frame
            } else {
                trace("Incorrect!");
                // show the gloss
                gloss_mc._visible = true;
                gloss_mc.gloss_txt.text = glosskey_arr[_currentframe];// insert gloss from the array
                // end if statement
                trace("Score is now "+score_int);
    }// end of function

    Try this
    Name the dynamic text box in var not at Instance name
    You will find it in properties panel .By selecting the dynamic text field you will have some properties like var,single line ....ect
    or
    Try this one
    this is your code : score_txt.text = score_int;
    try this :score_txt = score_txt+1;
    where  score_txt is the instance name or the var name you are assigning to the dynamic text field where you will display the score.
    Note: Change all of the dynamic text field name "score_int" in the script in to score_txt ,Because you have changed the dynamic text field to score_txt at the beginig of the script also you have score_int = 0.change heare also.
    If your problem is solved mark this as Answered

  • How can I add the score of external swfs.

    How can I add the scores of the different levels of the game that I created wherein each level are all different swfs which is loaded by the loader class.

    Thank you! That really helped.

  • A bug in the score program

    If I enter an 1/8 note rest at the beginning of a measure then if the following note length is an odd multiple of an 1/8 note , the score shows the right value.
    If the following note is an even multiple of an 1/8 note, the note length in the score is increased by an 1/8 note. Example: 1/8 rest followed by a 1/4 note becomes 1/8 note rest followed by a tied 1/8 note and 1/4 note. The piano roll indicates the correct lengths and positions. Since the piano roll and score are tied together, changing one changes the other. No quantization was used in the tests I ran and data were entered with the step input keyboard. I exported a midi file and imported it to Finale. The Finale score indicated the same score values. Which representaion (score or piano roll) determines the note lengths in the midi file?
    Note: The same thing occurs in Logic Express 9

    I can not confirm your findings, as you can see:
    Have a nice day!

Maybe you are looking for

  • Final Cut loading and running extremely slow...

    Hi, I posted about this a few days ago but in my usual panic (work to do!) I didn't make it clear, basically, here's the problem... I recently had problems with FCP and generally all apps on my machine, when they loaded there was a slight pause when

  • Please help with submitting a pdf form

    I've spend the last few days (literally) searching and searching - in this forum and across the web - for a SIMPLE solution to this problem and found nothing. Actually, I have found a few posts apparently trying to do the same thing I am, but with ne

  • Exporting files because of harddrive swap

    Hi all, I'm planning on replacing my current harddrive (500GB) for a flashdrive (250GB) and an additional harddrive (1TB) in my Early '11 MBP. Now I'm aware of the fact that restoring a Time Machine copy of my harddrive won't work, as the latest copy

  • HT5824 I lost a note in on my phone and it is not in icloud can I retrieve it?

    I lost a note on my iphone and it is not included in icloud..... can I retrieve it anywhere else?

  • Control Workflow Report output using Structural Authorization

    Is it possible to control output of Workflow Reports using Structural Authorizatins. E.g. Workflow Admins having access to tcode SWi2_FREQ will be able to see project wide data, but i want to restrict the workflow admins at department level from seei