views:

21

answers:

1

Hi - in ActionScript-2 is there any way the html text can be copied and pasted without formatting loss.

Thanks, Yogesh

A: 

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! :)

bigp
Thanks bigp..i wanted to do this in Flash (with AS 2.0 not AS 3.0 unfortunately)...wondering if there is a way to do it in AS 2.0
Yogesh