Doug, I'm sure if you tried hard enough, you'll probably find some way around it. I saw someone write Java code that faked mouse events to the player which could let you paste from the clipboard into a TextField. -Alex
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doug McCune Sent: Friday, May 11, 2007 11:15 AM To: [email protected] Subject: Re: [flexcoders] can you drag and drop from a Swing application to a Flex one in browser? Oh, yeah, good point :P "For security reasons, there is no Security.getClipboard() method, since such a method could potentially allow malicious sites to access the data last copied to the user's Clipboard." Well, that's no fun. How about having a Swing app create a fake SharedObject file that then gets read by the Flex app (and tricks it into thinking it's from the correct domain)? On 5/11/07, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Last I checked, Flex/Flash can put stuff on the clipboard, but can't get what's there. ________________________________ From: [email protected] [mailto:flexcoders@ yahoogroups.com <http://yahoogroups.com> ] On Behalf Of Doug McCune Sent: Friday, May 11, 2007 10:29 AM To: [email protected] Subject: Re: [flexcoders] can you drag and drop from a Swing application to a Flex one in browser? Just thinking out loud, if your Swing app placed some data in the clipboard, like a description of what was being dragged, and then your Flex app had a rollOver event that checked if there's the appropriate data in the clipboard, if so show a visual indicator of what's being dragged in the flex app... I dunno, maybe you could "fake" drag and drop? Doug On 5/11/07, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Flex on the web doesn't have D&D interop with other applications. ________________________________ From: [email protected] [mailto: flexcoders@ <mailto:flexcoders@> yahoogroups.com <http://yahoogroups.com> ] On Behalf Of tinkiknit Sent: Friday, May 11, 2007 5:51 AM To: [email protected] Subject: [flexcoders] can you drag and drop from a Swing application to a Flex one in browser? Hi Flexcoders... surfacing from my lurkerdom here...been away from Flex-ing for the past couple of months...but now here's a question the tech lead asked me... Can you drag and drop between a Swing application (or Motif for that matter, we're talking legacy software) and a Flex one running in the browser?? thanks in advance for any wisdom on this... Christine

