[Xerte] Getting results...
Tenney Julian
Julian.Tenney at nottingham.ac.uk
Thu May 1 15:35:31 BST 2008
Because the movie clip you interact with is the rs property and the page
of content that displays is the id property. So for the checkbox /
button / radio / combobox etc, you always reference it through the rs
property.
________________________________
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: 01 May 2008 15:23
To: 'Xerte discussion list'
Subject: RE: [Xerte] Getting results...
Have figured it out that we needed rs instead of Icon id but why would
this be the case when we are reading a property of the checkbox?
Paul
________________________________
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&ex
tid=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
Engineering, Training, Consultancy <http://www.acns-gmbh.com/>
Paul Beckwith
Multimedia Developer
AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK
paul.beckwith at acns-group.com <mailto:mark.tomlinson at acns-group.com>
www.acns-group.com <http://www.acns-group.com/>
tel:
fax: :
+44 1253 855 997
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+12
53+855+997&Email=mark.tomlinson at acns-group.com>
+44 870 762 6818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080501/36aaad61/attachment.html
More information about the Xerte
mailing list