[Xerte] Learning Object Properties

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Mar 23 11:15:05 GMT 2009


You can set your own custom colour scheme using the proeprties of the
learning object icon.

 

At runtime you can just redraw the interface:

 

rootIcon.clear();

rootIcon.beginFill(0xFF0000,100);

rootIcon.drawRect(0,0,800,600); //you might need several rectangles to
get the interface you want,

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of
steve.frank at lucite.com
Sent: Monday, March 23, 2009 11:10 AM
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Learning Object Properties

 


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/15d7595c/attachment.html


More information about the Xerte mailing list