[Xerte] Re: Can I use methods to modify an image inserted using rootIcon.loadIcon( )? Xerte Desktop 2.17
Dave Burnett
d_b_burnett at hotmail.com
Wed Apr 4 19:23:18 BST 2012
It requires getting inside Julian's head and traversing the back roads and laneways, all the while ignoring the background hum.
Help File:
loadIcon() //note, not loadLogo()UsagerootIcon.loadIcon(fileName)ParametersfileName The graphic to load into the top left corner of the screen as a logo for your learning object. // aha, logo. A clue. Now go look for logo.
etc
;-)
Date: Wed, 4 Apr 2012 11:10:25 -0700
From: Paul.Swanson at harlandfs.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Can I use methods to modify an image inserted using rootIcon.loadIcon( )? Xerte Desktop 2.17
Thanks, that helps. I used a 0.1 second Time Limit interaction with the script icon that sets the location and drop shadow, so it’s all working now. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Wednesday, April 04, 2012 10:52 AM
To: Xerte list
Subject: [Xerte] Re: Can I use methods to modify an image inserted using rootIcon.loadIcon( )? Xerte Desktop 2.17 Crud, I just wasn't waiting long enough for it to init. wait a bit after calling the load and then: _level0.engine.IFC.logo._x = 200; Date: Wed, 4 Apr 2012 09:41:22 -0700
From: Paul.Swanson at harlandfs.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Can I use methods to modify an image inserted using rootIcon.loadIcon( )? Xerte Desktop 2.17I’ve loaded a small graphic using rootIcon.loadIcon(), but it sits a bit too high and too far to the right. Can I use the move() method to change its position and add a drop shadow with dropShadow()? Is there an internal reference to this object? I’ve tried creating my own by both: customLogo = rootIcon.loadIcon(FileLocation + ‘media/myLogo.png’); and: rootIcon.loadIcon(FileLocation + ‘media/myLogo.png’).id = “customLogo”; followed by: customLogo.move(10,10);customLogo.dropShadow(4, 135, 0x000000, 80); The logo appears, but its position is unchanged and no drop shadow has been applied. Do I have to modify the graphic in an image processing program? No big deal, but easier to just move it around in Xerte since I can see it in relation to the interface (using the default interface). Paul SwansonInternal Business Systems AnalystInternal Business IntelligenceHarland Financial Solutions(800) 274-7280 Ext. 2462Paul.Swanson at harlandfs.com
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.
_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte 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.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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/20120404/956986e7/attachment.html>
More information about the Xerte
mailing list