[Xerte] Re: change background colour to white?
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Jan 24 16:03:31 GMT 2011
Does rootIcon exist when that code executes? If it's in the first script icon, rootIcon doesn't exist yet...
Use one of the init events (rootIcon.onInit), or put code in the entry frame,
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 24 January 2011 15:16
To: 'Xerte discussion list'
Subject: [Xerte] Re: change background colour to white?
no not sure it does - at least can't get it to work. :-(
On a slightly unrelated note but for the same installation ideally I need to draw or load a gradient across the first part of the title bar. I've been trying the following to load a png which I think is your code or a snippet from the mailing list:
rootIcon.createEmptyMovieClip('myCustomGraphic',++rootIcon.levels);//creates a new movie clip
rootIcon.myCustomFGraphic.loadMovie(templatePath + 'common/mygraphic.png'); //loads your graphic
rootIcon.myCustomGraphic._x = 0;
rootIcon.myCustomGraphic._y = 0; //positions the graphic
I've tried a fixed link to the graphic online and also FileLocation but the graphic isn't appearing. Bound to be something stupid?
Cheers
Ron
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 24 January 2011 14:00
To: Xerte discussion list
Subject: [Xerte] Re: change background colour to white?
stageAlpha?
But not sure that exists...
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 24 January 2011 13:53
To: 'Xerte discussion list'
Subject: [Xerte] Re: change background colour to white?
ah yes thanks Julian that works e.g. setting to 0xFFFFFF changes it to white.
Is there any way it can be transparent?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 24 January 2011 10:04
To: Xerte discussion list
Subject: [Xerte] Re: change background colour to white?
stageColour?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 21 January 2011 20:21
To: 'Xerte discussion list'
Subject: [Xerte] change background colour to white?
I'm sure we've discussed this years ago and I'm sure I've even done it but can't remember or find where I have :-(
Where/how do I change the dark grey area around an 800x600 LO (e.g here<http://mitchellmedia.co.uk/img/631ff65bea884616b54675bb87f3b42c.png>) to white or a different colour?
Cheers
Ron
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110124/b3700826/attachment-0001.html>
More information about the Xerte
mailing list