By dispatching from that sprite. Set localX/Y as it should be for that sprite and then dispatch it from that sprite and the stageX/Y should be what you wanted
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivo Sent: Wednesday, April 02, 2008 4:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] convert MouseEvent into a DragEvent? Seems I am unable to set the StageX/Y on a new DragEvent. According to the docs these values are generated from localX/Y but testing it shows the values for StageX/Y always remain 0. Is it because the localX/Y are "relative to the containing sprite"? How do I associate a new DragEvent with an arbitrary sprite? - Ivo ----- Original Message ---- From: Alex Harui <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, April 1, 2008 9:16:58 PM Subject: RE: [flexcoders] convert MouseEvent into a DragEvent? You should be able to use the stageX/Y and globalToLocal ________________________________ From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of ivo Sent: Tuesday, April 01, 2008 4:43 PM To: FlexCoders Subject: [flexcoders] convert MouseEvent into a DragEvent? I am trying to update the feedback for my List controls with a custom dropIndicatorSkin . My drag and drop handlers tho are written to accept MouseEvent so they can be used either for NativeDragEvent or DragEvent . Unfortunately tho the ListBase calls to showDropFeedback/ hideDropFeedback only take a DragEvent. This means my custom dropIndicator skin can only be used on web projects, not on my Air projects. Any suggestions on how I can get around this? The main issue is getting the event coordinates on a new DragEvent based on the MouseEvent correct so that the dropSkinIndicator highlights the appropiate row. Thanks, - Ivo