[Xerte] Re: hitTest question

Dave Burnett d_b_burnett at hotmail.com
Wed Feb 2 12:02:17 GMT 2011



I had put debugs in that are reporting the index and x value of the text fields as they are built.

0
100
1
200
2
300
3
400
4
500

If I duplicate(1), I lose node 0
If I duplicate (4) I lose node 0

That's the bizarre issue.
I'm only losing the first node, although the debug says it's there.

I'll have to step by step it. :-/
 


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 2 Feb 2011 10:05:05 +0000
Subject: [Xerte] Re: hitTest question



debug(Icon.parentNode.childNodes.length) and see how many child nodes there are after your dupe. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 01 February 2011 22:16
To: Xerte list
Subject: [Xerte] Re: hitTest question 
Sorry, pilot error.
Missing semi-colon in 80 lines of code.


Now a new one.

I have the proto textfield set up and working, now I do a duplicate(4) and only get the last 4.
First one seems to be being destroyed or overwritten or something.

sigh

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 1 Feb 2011 21:19:16 +0000
Subject: [Xerte] Re: hitTest questiondo they get drawn?What is args[0]?What is args[1] //is it a number? You can drag them? But hitTest fails? From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 01 February 2011 19:17
To: Xerte list
Subject: [Xerte] hitTest question
I have some draggable text objects and trying to drop them onto drawn panels:

args[0].beginFill(0xDFDFDFDF,100);
args[0].drawRect(0,0,args[1],tempH,4);
 
Can't seem to get a hit.
No go for drawn objects?

Dave


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/20110202/acb64d28/attachment.html>


More information about the Xerte mailing list