DragNDrop V2 BB
Date 2.06.05
You ever wanted a DragNDrop BB that is
- targetable
- works with homogenous coords?
- that can be constrained to one axis (without sliding over 2 pixels) ?
- provides you with some basic info so you can use it for i.e scrollbars?
Well, that is what I wanted for Defenders Tournement - mainly for scrollbars! So I took the time to partly rewrite that BB under 2.1 - when I was working on that project. Here it is!
License:
If you use it in any commercial or non-commercial product - you need to inform me about it. If it's not against NDAs, I will publish the product name on this page as reference.
How-To:
A good way of using it is to use two frames - one as slider and one as drag-region provider. Enable homogenous coords for both and increase the z-order for the slider frame. Now set the region frame as parent for the slider frame and set it's width to 1. Add a DragNDropV2 BB and change the settings first: check both options. Now go to the parameters and select the frame(s). Don't check 'constrain origin only' unles you know that you want it this way..
