[Xerte] Pre-selected radiobutton
Marc Torruella Altadill
mtorruella at viguera.com
Mon Jan 18 12:30:31 GMT 2010
Thank you very much Julian, but we are not sure to understand how the rs
We currently use this to set the y property of the component:
icon.nextSibling.childNodes[i].attributes.y = arrayY[i] + 15;
But no luck.
We have a button object which rs property we can set, but we will
duplicate(1) this object several times and we don't want the rs thing to
refer to all of them. I'm sure we are misunderstanding how it work.
(1) icon.nextSibling.childNodes.duplicate(ln - 1);
De: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] En nombre de Julian Tenney
Enviado el: lunes, 18 de enero de 2010 12:00
Para: Xerte discussion list
Asunto: RE: [Xerte] Pre-selected radiobutton
btn1.setValue(true); //where btn1 is the rs property of the radio button,
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Marc Torruella
Sent: Monday, January 18, 2010 10:53 AM
To: 'Xerte discussion list'
Subject: [Xerte] Pre-selected radiobutton
We have a quiz template where you can have from 1 to N radiobuttons.
We want that once a student has correctly answered this page, next time the
correct answer gets automatically checked.
We tried with properties "checked" and "selected" with actionscript, but it
doesn't seem to work. How should we do it?
1- Button1.attributes.checked = 1;
2- Button1.attributes.checked = true;
3- Button1.attributes.selected = 1;
4- Button1.attributes.selected = true;
Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xerte