[Xerte] Learning Object Properties

steve.frank at lucite.com steve.frank at lucite.com
Mon Mar 23 11:10:08 GMT 2009


Is it possible to change the Learning Object properties using script?

I'd like to be able to vary the stageColour and have tried the following:-

_level0.contentXML.firstChild.attributes.stageColour = '0xFF6699';
debug(_level0.contentXML.firstChild.attributes.stageColour);

debug returns 0xFF6699 as expected but the stageColour itself doesn't 
change.

Steve
__________________________________________________________________________________
Lucite International Group Limited. Registered in England No. 5671799. 
Registered Office: Queens Gate, 15-17 Queens Terrace, Southampton SO14 
3BP, United Kingdom
Holding Company for the Lucite International Group
 

IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is solely for the use of the intended recipient. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. If you have received this e-mail by mistake, please notify the sender immediately by e-mail and delete this e-mail from your system. The sender has taken reasonable precautions to ensure no viruses are present in this e-mail however the company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments. Please note that this e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. We advise that you understand and consider this lack of security when e-mailing us.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090323/df0917bf/attachment.html


More information about the Xerte mailing list