[Xerte] Getting results...

Paul Beckwith, AC&S Ltd paul.beckwith at acns-group.com
Thu May 1 15:18:27 BST 2008


Thanks Julian, 

 

Any idea why I am still getting 10 displayed after running the code below?

 

CurrentScore=10;

 

if(butta.getValue()==true){

CurrentScore++;

}

 

 

 

  _____  

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 01 May 2008 08:55
To: Xerte discussion list
Subject: RE: [Xerte] Getting results...

 

The button, radioButton, checkBox, and comboBox that are the default
interaction responses are in fact Flash MX UI Components. You can download
them here:

 

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail
<http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid
=1009423> &extid=1009423

 

If you install the extension you should get some documentation in the Flash
help system.

 

Xerte has a useful function for finding out about things: instead of
debug(myIconID) try inspect(myIconID); //it will give you a list of the
icon's properties and current values and list all their methods / event
handlers. You can use this when you need a bit of detective work to suss
things out.

 

I think what you are looking for is myChk.getValue() which will return true
or false depending on whether the checkbox is checked or not,

 

HTH,

 

 

 

 

 

 


  _____  


From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 30 April 2008 16:42
To: 'Xerte discussion list'
Subject: RE: [Xerte] Getting results...

Ok no problem, my last question would be when tracking a response from a
checkbox, I can get the response but only when the checkbox is clicked on,
not necessarily checked. Any ideas? I've tried ;

 

If (id == true) {

Score++

}

 

Else blah blah

 

But I don't know what properties the checkbox actually has.

 

Thanks again, 

 

P


  _____  


From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 30 April 2008 16:10
To: Xerte discussion list
Subject: RE: [Xerte] Getting results...

 

Yes. If you need the finer details you need to track the results using an
Array or similar,


  _____  


From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 30 April 2008 15:48
To: 'Xerte discussion list'
Subject: RE: [Xerte] Getting results...

How can I find out if a specific question has been marked correctly? Say if
I have a), b), c) and d) and the correct answer is c) and/or d) but the user
selects a) and c). From this I need to display "you scored 1 correct out of
a possible 2"   - Would it be better to trap an rs/event from the checkbox
instead of using the "correct" property do you think?

 

Paul


  _____  


From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tenney Julian
Sent: 30 April 2008 15:20
To: Xerte discussion list
Subject: RE: [Xerte] Getting results...

 

They aren't stored. You need to store them if you want to refer to them
later. 

 

Whilst in the interaction, you can use interactionID.judge() to see whether
the responses you've marked as correct are all matched or not, but if you
exit that interaction, no data is stored anywhere.

 

If you're looking to store answers until after the test and then provide
feedback, you'll have to do that yourself using whatever tracking mechanism
you see fit,

 

J

 


  _____  


From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith,
AC&S Ltd
Sent: 30 April 2008 15:08
To: 'Xerte discussion list'
Subject: [Xerte] Getting results...

Hi all, 

 

I have a quiz of 4 questions, each question has multiple correct answers
which are scored by using checkboxes and the "correct" property within Xerte
set to 1. Where do the results get stored when the correct answers are
chosen and how can I get to them?

 

Thanks in advance.

 





Aerospace Consulting & Services Ltd

 <http://www.acns-gmbh.com/> Engineering, Training, Consultancy

 



Paul Beckwith
Multimedia Developer 

AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK 


 <mailto:mark.tomlinson at acns-group.com> paul.beckwith at acns-group.com
 <http://www.acns-group.com/> www.acns-group.com 


tel: 
fax: : 

 
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+8
55+997&Email=mark.tomlinson at acns-group.com> +44 1253 855 997
+44 870 762 6818

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080501/b770f324/attachment.html


More information about the Xerte mailing list