[Xerte] Re: hitTest question

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



Below the dec with the duped children I asked for the y attrib and the clip()._y

atts y 400
atts y 450
atts y 500
atts y 550
atts y 600
clip 600
clip 450
clip 500
clip 550
clip 600


5 clip is overlaying the 1 clip, but the y attrib is reporting correctly?
I have remmed out all the other code below the dupe call.








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/6eb8d933/attachment.html>


More information about the Xerte mailing list