[Xerte] Re: hitTest question

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Feb 2 15:23:01 GMT 2011


You need to swap depths on the pages, not the items: swapDepths needs a common parent. You are swapping the item's layer on its parent clip.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 02 February 2011 15:16
To: Xerte list
Subject: [Xerte] Re: hitTest question

I'm just a common working man
Half a pint of bitters, bread and jam.

Sounds good, but why?
Works now, so I'm guessing I inadvertently fixed something with all my remming/unremming of code

<DEC>
   <PG>
    <DIS id='blah'>//draggable
   <PG>
    <DIS>//draggable
   <PG>
    <DIS>//draggable


Can I swap the item being dragged above the others?

debug says they are all at depth 1

blah.swapDepth(2)

says it is now at 2, but it remains below the subsequent <DIS>'s


________________________________
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 2 Feb 2011 14:45:51 +0000
Subject: [Xerte] Re: hitTest question
I'll bet you a jam sandwich that the xml nodes were being duplicated properly, but the icons were failing to instantiate when the xml was then parsed,

J

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 02 February 2011 14:10
To: Xerte list
Subject: [Xerte] Re: hitTest question


Removed a couple id's from dec icons and it works now.
Did a search and those id's were single instances.
I wasn't using them for reference anyway, it's all done with icon. etc.
Weird.

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/bdeb7a15/attachment-0001.html>


More information about the Xerte mailing list