in ActionScript-2 is there any way the html text can be copied and pasted without formatting loss.
Thanks, Yogesh
in ActionScript-2 is there any way the html text can be copied and pasted without formatting loss.
Thanks, Yogesh
On
I have read this webpage recently and there is a part saying "In addition to loading plain text, it is possible to load HTML formatted text, not all HTML tags are supported, but most of the common ones are. To load an HTML formatted text file it is necessary to activate HTML for the specific tag and then assign our HTML codes to the .htmlText property of our text field instead of the regular .text property this way:"
Here is the link: Loading External Texts into Flash Using the LoadVars() Class
Are you working in Flash specifically or in Flex? There's Rich Text components that will probably handle what you want.
But otherwise, I believe there is this property you can set on your textfield: yourTextField.useRichTextClipboard = true;
Haven't tested but hope this works! :)