The goal is to drag and then drop text highlighted on an HTML page to a Flash 
or Flex-based component (or for someone to tell me it is not possible so I 
won't search/try any more!).

I am presuming based on my limited knowledge of Drag-and-Drop using HTML(and 
its associated Javascript) and, separately, my experience using Drap-and-Drop 
within Flex that some amount of scripting will be required on both sides to 
complete the task.

Since I have seen some cool examples of Drag-and-Drop using Javascript and I 
know Flex 2 enhances the ability to communicate between Javascript and the 
Flash platform, I assume that there may be new ways of accomplishing this that 
previously either did not exist or were less excessible than before. If anyone 
has experimented with them, I am hoping they can share.

My ideal scenario would be to highlight text and drag it directly into an 
TextArea (without HTML formatting would be just fine). My hopefully manageable 
compromise would be to load a local HTML page that had an HTML-based text field 
in it and an IFrame. The thought would be I could use ActionScript to pass the 
Javascript the URL I was interestd in, the Javascript would load the URL in the 
specified IFrame, I could then highlight the text I wanted, drop it in my 
HTML-based text field using Javascript/AJAX and then again using Javascript 
pass it back to Flex.

-Mark

>  -------Original Message-------
>  From: Manish Jethani <[EMAIL PROTECTED]>
>  Subject: Re: [flexcoders] IFrame Example for Flex 2?
>  Sent: 10 Feb '06 20:51
>  
>  On 2/10/06, Mark Wales <[EMAIL PROTECTED]> wrote:
>  
>  > Does anyone out there have any HTML/Javascript-to-Flash/Flex examples
>  > they can share?
>  
>  Can you elaborate on that?  What do you mean by
>  "HTML/Javascript-to-Flash/Flex examples"?
>  
>  
>  --
>  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

<*> 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/
 


Reply via email to