Log in

View Full Version : Word format imported into flash



evan
07-02-2008, 06:19 PM
How to actually do that is another question -but assuming it is possible for a user to upload a word file into a flash movie would it keep it's formatting.

I know you can keep html tags intact or format text with html/css like properties but I don't know how uploading word would come out, much less if a user wanted to upload word .doc and have it's content display in a text box.

Medyman
07-02-2008, 08:21 PM
No, that's not possible. The text parser in Flash reads everything like plain text files. That's why things like XML files, PHP and .txt files are used to create dynamic flash applications -- they don't contain any extra formatting.

If you open up a .doc file in a plain text editor, you'll see that it's completely incoherent. What you're seeing in the plain text editor is what Flash will read in.

evan
07-03-2008, 04:00 PM
Good, I had to ask because it was a dumb question that (believe it or not) I had to ask. Thanks for clarifying it.