Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
mmahuika #1
Drag and drop using drag manager
Can someone help? I am dealing with drag and drop and want to be able to drop
an item in a VHorizontal box. If I set a background pic then I can drop the
item onto that but why does it require a target?! Surely I can capture the
event without this.
mmahuika Guest
-
Drag and Drop from VB6 onto a pdf ?
I'm trying to right an app using the Acrobat 7.0.5 SDK. I want to be able to drag items from a list box, combo box, grid, etc, and drop them into a... -
Drag and Drop help please!!!
Hi, I'm sure the answer to this is simple, so if you know flash, please read... : ) We're trying to create a drag and drop interactive flash... -
ASP.NET Drag Drop
Hi, I need to develop a ASP.NET web application having two tree controls.I should be able to drag tree nodes from one tree to another.How can i... -
ASP.NET and Drag & Drop
Is it possible to drag and drop controls in an aspx page at runtime ? Meaning i have developed a ASP.NET web form, the web form is now downloaded... -
Less Drag-n-Drop in OSX?
Call me a bonehead if there was an announcement about this a couple years ago, but does it seem like very few OSX apps support drag-n-drop? I... -
ntsiii #2
Re: Drag and drop using drag manager
Post a small sample app, I'll take a look.
Obviously, the drop needs a target, but you should be able to use the VBox as the parent.
Tracy
ntsiii Guest
-
mmahuika #3
Re: Drag and drop using drag manager
Thought I had replied but I can't see it so here goes again...
The main problem is that the user can move custom components between
boxes(VHorizontalBoxes). If they move all components out of one box then they
should be allowed to move the components back into the empty one. But the drag
and drop code was within the custom component rather than the box. To get
around this I managed to 'fake' a target by setting the background colour of
the VHorizontalBox. To do this I added functions to move the component then
added the following code to the boxes.
dragEnter="doDragEnter(event)" dragDrop="doDragDrop(event)"
backgroundColor="#7D8FA8"
If you can think of a better way of doing this please let me know :)
mmahuika Guest
-
ntsiii #4
Re: Drag and drop using drag manager
Ahh, actually that sounds like a reasonable approach.
Tracy
ntsiii Guest
-
mmahuika #5
Re: Drag and drop using drag manager
Thanks Tracy I'm glad you agree. All I need to do now is move all the drag and drop events out of the custom component so it is all in the one place... :(
mmahuika Guest



Reply With Quote

