[Xerte] Re: Can I use methods to modify an image inserted using rootIcon.loadIcon( )? Xerte Desktop 2.17

Paul Swanson Paul.Swanson at harlandfs.com
Wed Apr 4 19:10:25 BST 2012


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.17
I'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 Swanson
Internal Business Systems Analyst
Internal Business Intelligence
Harland Financial Solutions
(800) 274-7280 Ext. 2462
Paul.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120404/c370ec4a/attachment-0001.html>


More information about the Xerte mailing list