Hi, If there is no clean way to do it ( i would still look further ), a nasty hack would be something like this:
- when the drag starts. - determine the mc below the mouse at that time ( take a look at lowlevelevents, if that doesn't do it, I can give you a snippet that works just fine ) - traverse up the _parents till you hit the one you want ---- how to test?... ------ first, assert that the mc is of the class that renders the item you want ( probably one in the mx.controls.listclasses package ) ------ then you'll have to look at the specific api for a way to get the data item. Or perhaps the index in the list, which is more generic. There are others way to do the testing, use your imagination. This is where exploring the api gets fun. Anyway, I would still look for a cleaner solution first. Best, Aldo On 8/4/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > but which on eof those items is the mouse on? Say the user selected 5 > items contiguously then initiated a drag on them. I want to know > which item teh mouse is on. > > DK > > On 8/4/05, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 8/4/05, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > > > Consider using a list and the drag+drop manager. Assume the user has > > > selected three items in the list contiguously. Can I determine which > > > of the three items the users mouse is on upon a click and hold? I > > > can't seem to see anything in the docs as of yet. > > > > Doesn't selectedIndices give you the indices of the items? > > > > Manish > > > > > > > > -- > > 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? > > > > -- > 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 > > > > > > > -- ::::: Aldo Bucchi ::::: mobile (56) 8 429 8300 ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h3ip6ug/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123192136/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</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/

