any ideas on this? Seems to pull this off, have to extend the List comp with custom dragdrop stuffs.
DK On 8/8/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > http://livedocs.macromedia.com/flex/15/flex_docs_en/00000623.htm > has > "The DataSource object created by Flex contains the following data objects: > > * For a List or DataGrid control, the first data object contains a > copy of the selected item or items in the List or DataGrid control, > and has a format string of items. The selected items implement the > DataProvider API." > > that said, DS also has a method addData() ( > http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/DragSource.html > ) which doesn't seem to work. > > Maybe there is an event that I need to fire to update the dragproxy display? > > DK > > On 8/8/05, Allen Manning <[EMAIL PROTECTED]> wrote: > > Douglas, > > > > Are you sure that DS is actually a Data Provider? I think it would exhibit > > that behaviour if you were attaching dynamic properties onto an Object. > > > > Allen > > www.prismix.com/ > > > > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of Douglas Knudsen > > Sent: 08 August 2005 17:04 > > To: [email protected] > > Subject: [flexcoders] how to add items to the dragsource? > > > > I'm trying to add items to a dragsource on th efly. > > > > var DS = event.dragSource.dataForFormat("items"); > > DS.addItem(objectitem); > > alert(DS.length); > > > > It adds it according to the alert, but nothing is changed in the > > display. In other words, the dragproxy image thingy is not updated. > > Is this possible? > > > > > > -- > > Douglas Knudsen > > http://www.cubicleman.com > > this is my signature, like it? > > > > > > > > -- > > 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 > > > > > > > > > > > > > > > > > > > > -- > > 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 > > > > > > > > > > > > > > > > > -- > Douglas Knudsen > http://www.cubicleman.com > this is my signature, like it? > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hsmeeoi/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123692853/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font> --------------------------------------------------------------------~-> -- 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/ <*> 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/

