[Xerte] Re: Drag and drops
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Fri Jan 28 13:56:53 GMT 2011
You want to constrain it to only move over the target? Or to only register the event when dropped over the target, other drops don't do anything / something different?
hitTest isn't fussy about layers, I think.
What's the scenario?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 28 January 2011 13:54
To: Xerte list
Subject: [Xerte] Drag and drops
Such fun for a Friday!
I'm thinking about using a combination of target areas and hitTest to do some drag/drop things.
Couple questions:
- Any way to constrain things so a dragged object has to be totally within the target area before it registers a hit?
- Do hitTests penetrate layers?
e.g. if I had a mask covering the screen and a target represented by a graphic in the next icon, if I drag an item completely onto the graphic will it register a hittest for both?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110128/4c864bb1/attachment.html>
More information about the Xerte
mailing list