Leave it to me - I 'm an XML terrorist ! Once Tracy showed me how to use it I became a fanatic.
Okay - I'll remove the move.enabled so then would a simple solution be to convert XML to AC to avoid having to write all the custom D/D ? or is this just a fact of life ? Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918 Alex Harui wrote: > > > Geez, Ben, you keep finding all the ways the XML doesn’t behave like > normal objects. > > > > I think you’ll have to handle dragDrop and dragComplete events yourself, > calling preventDefault(), and handling the move differently. You’ll see > code that does this in Tree. > > > > A D&D move adds to the destination then removes from the source. With > objects in an array, that works. In XML, the remove actually removes it > from the parent which is not what you want. > > > > ------------------------------------------------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] > *On Behalf Of *Ben Marchbanks > *Sent:* Monday, September 24, 2007 10:43 AM > *To:* [email protected] > *Subject:* [flexcoders] TileList problem - here we go again - drag/drop > error > > > > I have a TileList with an e4x dataProvider - I want to simply allow the > user > to re-order the list using builtin drag and drop. > > I enabled the list with - drag enabled, drop enabled, move enabled and > as soon > as an item is dragged it throws an error at the following line in > TileBase.as > > dropIndicator.x = cc && listItems[rowNum].length && > listItems[rowNum][colNum] ? > listItems[rowNum][colNum].x : colNum * columnWidth; > > Any suggestions ? > > Ben Marchbanks > > ::: alQemy ::: transforming information into intelligence > http://www.alQemy.com <http://www.alQemy.com> > > ::: magazooms ::: digital magazines > http://www.magazooms.com <http://www.magazooms.com> > > Greenville, SC > 864.284.9918 > > -- Ben Marchbanks ::: alQemy ::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

