[Xerte] Re: set x values using relative path instead of ID
Dave Burnett
d_b_burnett at hotmail.com
Mon Jan 2 16:21:42 GMT 2012
Thanks Johnathan. I tried many variations on that theme. :-)
I think the problem is that nomen addresses the xml nodes, while I'm trying to address an instantiated object.
I finally ran across this:
_level0.engine.IFC.FW_ENT.children[i]._y = 100+(offset*i);
which I loop through and can indeed move the clips about after they have been created.
Probably some misuse of code in there, which Julian will box my ears with when he returns.;-)
Dave
Date: Mon, 2 Jan 2012 15:39:17 +0000
From: johnathan.kemp at ntlworld.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: set x values using relative path instead of ID
How about
icon.parentNode.parentNode.parentNode.parentNode.firstChild.clip()._x ?
Just a wild guess!
Kind regards
Johnathan
On 1 January 2012 17:22, Dave Burnett <d_b_burnett at hotmail.com> wrote:
Happy New Year!Too much happiness actually, getting a brain lock.
<LO> <IFC> <FW_ENT>
<DIS> //set the x value of this display <PG> <INT> <RS button>
<SCR> //from here, not knowing the ID of the DIS
something like icon._parent._parent.clip()._x etc???
I can't figure it out.
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/20120102/ca32d9a8/attachment-0001.html>
More information about the Xerte
mailing list