converting MS doc formatting to html that Flash can recognize

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default converting MS doc formatting to html that Flash can recognize

    I've got an MS world doc that has simple formatting in it (i.e. bold,
    italic) that I want to bring into flash. My solution is:
    a) save as html from word
    b) load the html formatted text into flash
    c) assign text to an html formatting enabled text field

    My problem is that when MS word converts a word doc to html, it puts a lot
    of tags in that confuse Flash. Has anyone found a method of converting a
    word doc to html where it just uses the very basic tags that Flash employs?
    For instance, I just want a <p> tag, but MS gives me something like this: <p
    class=MsoNormal>. Flash doesn't know what to do with that.

    The only solution I've found is to copy the raw text into Dreamweaver and
    re-creating the formatting by hand. Dreamweaver doesn't add all the stuff,
    just the basic <p><b><i> tags. While this method works, I've got a 50 page
    doc, so it's going to take a while if I don't find a way to convert the
    formatting in the word doc to something Flash will recognize.

    Thank you

    Patrick


    Patrick Guest

  2. Similar Questions and Discussions

    1. Extension to Force DW to Recognize PHP in HTML files
      Hi there, I've got several sites that use PHP code blocks embedded within plain .html files. It's an apache server and I simply use AddHandler...
    2. Converting a HTML form to a Flash one
      I'm developed my first login framwork for a Coldfusion application using basic html tags however I want to now convert this form into a flash one....
    3. <<< EOPAGE html formatting in PHP?
      I am running PHP 4.3.10.10, WinXP/IIS and I have been using some code examples from the book, 'PHP/mySQL Bible'. There is an example where they use...
    4. html formatting in flash
      I have an textfield set to display html. When I include two hyperlinks with a space between, Flash is ignoring the space and placing the hyperlinks...
    5. DW MX Doesn't Recognize FW MX 2004 HTML Files For Import
      Hi, I'm trying out Fireworks MX 2004 and ran across this problem. I opened a navbar PNG file (w/pop-up menus) in FW MX 2004 that had originally...
  3. #2

    Default Re: converting MS doc formatting to html that Flash can recognize

    I've had this kind of problem a lot. I usually cook up a little Perl
    script and save it as a droplet on my desktop. That way I can just drop
    folders full of MS-HTML crap on it and get nice, neat HTML out the back.

    In article <Wiv7b.25168$Ad4.9949064@news3.news.adelphia.net >,
    "Patrick" <patrickyoung@jetsetstudios.com> wrote:
    >I've got an MS world doc that has simple formatting in it (i.e. bold,
    >italic) that I want to bring into flash. My solution is:
    >a) save as html from word
    >b) load the html formatted text into flash
    >c) assign text to an html formatting enabled text field
    >
    >My problem is that when MS word converts a word doc to html, it puts a lot
    >of tags in that confuse Flash. Has anyone found a method of converting a
    >word doc to html where it just uses the very basic tags that Flash employs?
    >For instance, I just want a <p> tag, but MS gives me something like this: <p
    >class=MsoNormal>. Flash doesn't know what to do with that.
    >
    >The only solution I've found is to copy the raw text into Dreamweaver and
    >re-creating the formatting by hand. Dreamweaver doesn't add all the stuff,
    >just the basic <p><b><i> tags. While this method works, I've got a 50 page
    >doc, so it's going to take a while if I don't find a way to convert the
    >formatting in the word doc to something Flash will recognize.
    >
    >Thank you
    >
    >Patrick
    >
    >
    --
    S t e v e n P o s t
    s . p o s t @ n u m b e r - 1 0 . g o v . u k
    Steven Post Guest

  4. #3

    Default Re: converting MS doc formatting to html that Flash can recognize

    > I've got an MS world doc that has simple formatting in it (i.e. bold,
    > italic) that I want to bring into flash. My solution is:
    > a) save as html from word
    > b) load the html formatted text into flash
    > c) assign text to an html formatting enabled text field
    >
    > My problem is that when MS word converts a word doc to html, it puts
    > a lot of tags in that confuse Flash. Has anyone found a method of
    > converting a word doc to html where it just uses the very basic tags
    > that Flash employs?
    > For instance, I just want a <p> tag, but MS gives me something like
    > this: <p> class=MsoNormal>. Flash doesn't know what to do with that.
    >
    > The only solution I've found is to copy the raw text into
    > Dreamweaver and re-creating the formatting by hand. Dreamweaver
    > doesn't add all the stuff, just the basic <p><b><i> tags. While this
    > method works, I've got a 50 page doc, so it's going to take a while
    > if I don't find a way to convert the formatting in the word doc to
    > something Flash will recognize. Thank you, Patrick
    There are better ways with Dreamweaver:

    1.) Create an empty HTML page.
    2.) Import Word HTML: File > Import > Import Word HTML
    3.) Stripe surplus HTML tags: Commands > Clean Up HTML/XHTML

    -> There you can specify tags to be removed e.g. span and div...

    Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
    Martin Voegeli, vom Guest

  5. #4

    Default Re: converting MS doc formatting to html that Flash can recognize

    The Dreamweaver conversion works well. Thank you.

    My only problem now is troublesome special characters. Example: é comes out
    as a square when I import into flasht html text.

    Thanks again,

    Patrick



    "Martin Voegeli, vom" <MartinVoegeli@gmx.ch> wrote in message
    news:3F5EB6D0.8837C85D@gmx.ch...
    > > I've got an MS world doc that has simple formatting in it (i.e. bold,
    > > italic) that I want to bring into flash. My solution is:
    > > a) save as html from word
    > > b) load the html formatted text into flash
    > > c) assign text to an html formatting enabled text field
    > >
    > > My problem is that when MS word converts a word doc to html, it puts
    > > a lot of tags in that confuse Flash. Has anyone found a method of
    > > converting a word doc to html where it just uses the very basic tags
    > > that Flash employs?
    > > For instance, I just want a <p> tag, but MS gives me something like
    > > this: <p> class=MsoNormal>. Flash doesn't know what to do with that.
    > >
    > > The only solution I've found is to copy the raw text into
    > > Dreamweaver and re-creating the formatting by hand. Dreamweaver
    > > doesn't add all the stuff, just the basic <p><b><i> tags. While this
    > > method works, I've got a 50 page doc, so it's going to take a while
    > > if I don't find a way to convert the formatting in the word doc to
    > > something Flash will recognize. Thank you, Patrick
    >
    > There are better ways with Dreamweaver:
    >
    > 1.) Create an empty HTML page.
    > 2.) Import Word HTML: File > Import > Import Word HTML
    > 3.) Stripe surplus HTML tags: Commands > Clean Up HTML/XHTML
    >
    > -> There you can specify tags to be removed e.g. span and div...
    >
    > Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398

    Patrick Guest

  6. #5

    Default Re: converting MS doc formatting to html that Flash can recognize

    I think you have to encode special characters, so like an é would be
    &eacute;

    If you don't know the codes, you can do a web search for HTML entities.
    That should turn them up.

    On the other hand, I seem to remember that this is not the right
    solution for flash -- that you have to embed the complete font set, or
    at least the characters you are using...

    sp

    In article <SmM7b.25284$Ad4.10059583@news3.news.adelphia.net> ,
    "Patrick" <patrickyoung@jetsetstudios.com> wrote:
    >The Dreamweaver conversion works well. Thank you.
    >
    >My only problem now is troublesome special characters. Example: é comes out
    >as a square when I import into flasht html text.
    >
    >Thanks again,
    >
    >Patrick
    >
    >
    >
    >"Martin Voegeli, vom" <MartinVoegeli@gmx.ch> wrote in message
    >news:3F5EB6D0.8837C85D@gmx.ch...
    >> > I've got an MS world doc that has simple formatting in it (i.e. bold,
    >> > italic) that I want to bring into flash. My solution is:
    >> > a) save as html from word
    >> > b) load the html formatted text into flash
    >> > c) assign text to an html formatting enabled text field
    >> >
    >> > My problem is that when MS word converts a word doc to html, it puts
    >> > a lot of tags in that confuse Flash. Has anyone found a method of
    >> > converting a word doc to html where it just uses the very basic tags
    >> > that Flash employs?
    >> > For instance, I just want a <p> tag, but MS gives me something like
    >> > this: <p> class=MsoNormal>. Flash doesn't know what to do with that.
    >> >
    >> > The only solution I've found is to copy the raw text into
    >> > Dreamweaver and re-creating the formatting by hand. Dreamweaver
    >> > doesn't add all the stuff, just the basic <p><b><i> tags. While this
    >> > method works, I've got a 50 page doc, so it's going to take a while
    >> > if I don't find a way to convert the formatting in the word doc to
    >> > something Flash will recognize. Thank you, Patrick
    >>
    >> There are better ways with Dreamweaver:
    >>
    >> 1.) Create an empty HTML page.
    >> 2.) Import Word HTML: File > Import > Import Word HTML
    >> 3.) Stripe surplus HTML tags: Commands > Clean Up HTML/XHTML
    >>
    >> -> There you can specify tags to be removed e.g. span and div...
    >>
    >> Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
    >
    >
    --
    S t e v e n P o s t
    s . p o s t @ n u m b e r - 1 0 . g o v . u k
    Steven Post Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139