[Xerte] Reading X,Y
Paul Beckwith, AC&S Ltd
paul.beckwith at acns-group.com
Thu May 29 16:19:33 BST 2008
Hi
Am trying to send an item back to it's original x &y. Does anybody know of a
way of reading the x&y from the XML file through script?
The first line works but is hard coded, we want to extract the initial post
position of the object just dropped so we can return it to its start
position. Second line doesn't work.
if(blnTargetFree==false){
//all targets are full, take action
//mf1.objectDropped.animate(100,100,20,'linearTween');
mf1.objectDropped.animate(mf1.objectDropped.XMLNode.attributes.x,mf1.objectD
ropped.XMLNode.attributes.y,20,'linearTween');
}
Aerospace Consulting & Services Ltd
<http://www.acns-gmbh.com/> Engineering, Training, Consultancy
Paul Beckwith
Multimedia Developer
AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK
<mailto:mark.tomlinson at acns-group.com> paul.beckwith at acns-group.com
<http://www.acns-group.com/> www.acns-group.com
tel:
fax: :
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+8
55+997&Email=mark.tomlinson at acns-group.com> +44 1253 855 997
+44 870 762 6818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080529/1018595a/attachment.html
More information about the Xerte
mailing list