[Xerte] Dragging multiple objects

Dave Burnett d_b_burnett at hotmail.com
Wed Jan 5 12:35:07 GMT 2011



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 objects











of 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 objects





flv,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 objects





make 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 objects





Any 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. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110105/186250b4/attachment.html


More information about the Xerte mailing list