RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-02-02 Thread David Kramer
Yes, all the data is in SQLite and available as an arraycollection to everything when creation complete kicks. I'm just trying to get the URL of an image that is already in a grid of images to be added to a presentation (within the presentation table) when the image is dropped on the presentation

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-02-02 Thread David Kramer
I've explored many many options, but still cannot seem to get the item rendered in a list (the label) to be the drop target. It's always the damn list itself I really stripped down code to bare bones and pasted it below for simplicity and clarity, but...no dice. Another set of eyes please?

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Tracy Spratt
If you write your own drag/drop handlers and call preventDefault, you can do anything you want, or nothing. There are lots of examples in the docs. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Jim Hayes
So I think what you really need to be doing is to have the list item renderer accept the drop, rather than the list itself? I'm sure I did this with the datagrid about a year and a half ago, unfortunately I don't have that project to hand just now or I'd have a look and see how I did it. All I

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread David Kramer
Thanks for the super fast reply, Tracy. I will look of course, but for even more speed, do you have a link to reference? Thanks in advance. _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, January 30, 2009 2:00 PM To:

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread David Kramer
Yes! Last night around 2 AM I thought Oh, the item renderer should accept it and then I went to sleep. But I'm still puzzled as to how to fire the proper SQL statement for each drop; essentially it's an INSERT [URL from drop] INTO table WHERE column = [the drop acceptor's label string].

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Tracy Spratt
http://livedocs.adobe.com/flex/3/html/dragdrop_8.html Now that only give you control over the drop functionality. You still need to extract the necessary key values form the source and target data, and build your update data structure and send it to the server, however you are doing that.

RE: [flexcoders] drag and drop ('into' the list items, while not adding to the list itself; Ex: iTunes)

2009-01-30 Thread Jim Hayes
But I'm still puzzled as to how to fire the proper SQL statement for each drop; essentially it's an INSERTĀ  [URL from drop] INTO table WHERE columnĀ = [the drop acceptor's label string]. So it's [URL from drop] and [the drop acceptor's label string] values that you need, essentially?, or