[Xerte] Dragging multiple objects

Dave Burnett d_b_burnett at hotmail.com
Wed Jan 5 14:19:30 GMT 2011


I think I see what's happening.
My frame has a transparent hole in it for the mov/controls.
But that trans part stays hot.

I wanted the user to be able to drag it by the mov as well as frame, so I guess I can chop the lower bit off the frame that is behind the controls  and put in a separate display.



From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 5 Jan 2011 13:31:40 +0000
Subject: RE: [Xerte] Dragging multiple objects



That’s why you need a child that starts the drag,  PG  DIS //handle events on this below  MOV  INT    EVT – onPress forDIS above, PG.startDrag    --    MovieControls    -- From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 05 January 2011 12:35
To: Xerte list
Subject: RE: [Xerte] Dragging multiple objects 
Hmm.

Have the multiple objects dragging, but the movie controller is hot as well.

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Jan 2011 22:27:39 +0000
Subject: RE: [Xerte] Dragging multiple objectsof your own devising? Make sure they all have the same parent, and drag that, I'd think about using a decision icon's page as the container for your player. Then users can drag that. You could have a title bar icon in the page that starts the drag: draw a rectangle into the page's first display icon, set up event handlers for it, and when you handle onPress / onRelease / onReleaseOutside, start / stop dragging the page itself via the page's ID. Magic. 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: 04 January 2011 22:26
To: Xerte list
Subject: RE: [Xerte] Dragging multiple objectsflv,frame,controller.From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 4 Jan 2011 21:27:24 +0000
Subject: RE: [Xerte] Dragging multiple objectsmake sure you handle onRelease and onReleaseOutside: that will nail the not dropping problem. For multiple objects, I guess loop over an array and startDrag on each item: you want to simultaneously drag several things? 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: 04 January 2011 18:27
To: Xerte list
Subject: [Xerte] Dragging multiple objectsAny best practices?

I have noticed before that if the user drags an object quickly then drops it, the "mouse up" sometimes gets missed and the object(s) will then continue to follow the cursor around.

Any way to avoid all the defensive programming?
:-/    


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. 
_______________________________________________
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/20110105/bbf81f99/attachment.html


More information about the Xerte mailing list