[Flashcoders] Paste rich text possible in Flash?
Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? My gut feeling is no, as I haven't yet come across examples of this on the web. Even copying bold text in an HTML-enabled input textfield and pasting it into the same textfield doesn't carry across the formatting. I'd appreciate any thoughts on this, even (or I should say, especially) a No, this can't be done. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Paste rich text possible in Flash?
Don't believe so but AIR can do it. On Tue, Jun 17, 2008 at 9:54 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? My gut feeling is no, as I haven't yet come across examples of this on the web. Even copying bold text in an HTML-enabled input textfield and pasting it into the same textfield doesn't carry across the formatting. I'd appreciate any thoughts on this, even (or I should say, especially) a No, this can't be done. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Paste rich text possible in Flash?
Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? Have you tried saving the file as HTML? Flash does have support for HTML text--limited, admittedly--but I don't know about RTF. I think Word has an option to reveal codes, which should show the HTML tags. I don't know this for sure--it's a guess, but it's worth a try. RTF codes aren't that tough to figure out--I had to do it for a Director project where I had to format print output with RTF, and if I can do it without documentation, anybody can. It's cryptic, though, and much more sensitive to minor deviations than HTML. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Paste rich text possible in Flash?
I've got a feeling its possible. Using useRichTextClipboard:Booleanhttp://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Boolean.htmlFrom adobe help: useRichTextClipboard property (for TextField class) Specifies whether to copy and paste the text formatting along with the text. When set to true, Flash Player will also copy and paste formatting (such as alignment, bold, and italics) when you copy and paste between text fields. Both the origin and destination text fields for the copy and paste procedure must haveuseRichTextClipboard set to true. The default value is false. I haven't tried it myself, but look into it. Ash 2008/6/18 Kerry Thompson [EMAIL PROTECTED]: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? Have you tried saving the file as HTML? Flash does have support for HTML text--limited, admittedly--but I don't know about RTF. I think Word has an option to reveal codes, which should show the HTML tags. I don't know this for sure--it's a guess, but it's worth a try. RTF codes aren't that tough to figure out--I had to do it for a Director project where I had to format print output with RTF, and if I can do it without documentation, anybody can. It's cryptic, though, and much more sensitive to minor deviations than HTML. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Paste rich text possible in Flash?
Just noticed you said MX2004 or 8. This help is for AS3. Sorry about that. But if you don't have a compelling reason to stick to AS2, you should switch anyway. 2008/6/18 Ashim D'Silva [EMAIL PROTECTED]: I've got a feeling its possible. Using useRichTextClipboard:Booleanhttp://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Boolean.html From adobe help: useRichTextClipboard property (for TextField class) Specifies whether to copy and paste the text formatting along with the text. When set to true, Flash Player will also copy and paste formatting (such as alignment, bold, and italics) when you copy and paste between text fields. Both the origin and destination text fields for the copy and paste procedure must haveuseRichTextClipboard set to true. The default value is false. I haven't tried it myself, but look into it. Ash 2008/6/18 Kerry Thompson [EMAIL PROTECTED]: Just say you have text in Microsoft Word which is formatted bold and a certain colour. Is it possible to copy that text into a Flash (MX2004 or 8) input field and retain (or at least discover and recreate) that formatting? Have you tried saving the file as HTML? Flash does have support for HTML text--limited, admittedly--but I don't know about RTF. I think Word has an option to reveal codes, which should show the HTML tags. I don't know this for sure--it's a guess, but it's worth a try. RTF codes aren't that tough to figure out--I had to do it for a Director project where I had to format print output with RTF, and if I can do it without documentation, anybody can. It's cryptic, though, and much more sensitive to minor deviations than HTML. Cordially, Kerry Thompson ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Random Lines 3D My online portfolio www.therandomlines.com -- Random Lines 3D My online portfolio www.therandomlines.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders