XML dynamic text - nothing appearing after the number80

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

  1. #1

    Default XML dynamic text - nothing appearing after the number80

    Hi there

    I have a dynamic text area that is populated from an xml text file.

    I have a problem where a particular sentence is not displaying in full

    i.e "AROUND THE WORLD IN 80 DAYS"

    Only "AROUND THE WORLD IN 80" is displaying

    If I change it to "AROUND THE WORLD IN EIGHTY DAYS" it works.

    Here is my xml code

    <movies>

    <movie>
    <title><![CDATA[AROUND THE WORLD IN 80 DAYS]]></title>
    <when><![CDATA[13 January at 4pm and 9.40pm on Sky Movies 2 <br> 19
    January at 6.55pm and 9.40pm on Sky Movies 6]]></when>
    <description><![CDATA[Phileas Fogg has bet that he can travel around the
    world in 80 days. It?s a good job he?s taken Passepartout (played by Jackie
    Chan) along, because there is plenty of danger along the
    way!]]></description>
    <credit></credit>
    <image1>images/world1.jpg</image1>
    <image2>images/world2.jpg</image2>
    <image3>images/world3.jpg</image3>
    </movie>


    </movies>

    The text area is dynamic, multiline, centered, all set in the IDE. It is
    also set to html. The font used is embedded in the library.

    When I trace the value, it gives the correct value

    i.e

    watchit_mc.movie_title_txt.htmlText =
    Watchit_Movie_Data[currentMovieIndex-1].movie_title;

    trace ("Title = " + Watchit_Movie_Data[currentMovieIndex-1].movie_title);

    I have been trying to fix this for days now.

    Any idea why this is happening? I guess it doesn't like numbers for some
    reason? However another example that includes numbers wors fine

    i.e

    <title><![CDATA[SCOOBY-DOO 2: MONSTERS UNLEASHED]]></title>

    Any help much appreciated

    Thanks

    Paul

    ChuckyLeFrek Guest

  2. Similar Questions and Discussions

    1. only partial dynamic text appearing?
      Does anyone know why the first part of my CSS formatted is the only part that shows? I know the rest of my text is formatted correctly because I can...
    2. Black text appearing in placed eps
      I have come across an unusual situation yesterday where black text is appearing in placed eps files. The supplied offending illustrator eps contains...
    3. Funny characters appearing in my text!
      I'm using a CFUPDATE form to update deails in a databse. However when I try to view the updated details I'm receiving "??
    4. Correct Font not appearing in Text palette
      Periodically while working in Illus CS (Panther 10.3, new Mac G5) when I go back to a text block to change type style, once the text is highlighted,...
    5. Dynamic text box within dynamic movie clip
      I'm having a similar problem. On mine I noticed that although the text doesn't show and the border doesn't show, the cursor changes appropriately...
  3. #2

    Default Re: XML dynamic text - nothing appearing after the number80

    What does
    trace ("Title = " + watchit_mc.movie_title_txt.htmlText);
    trace ("Title = " + watchit_mc.movie_title_txt.text);
    yield after the assignment?



    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    May many happy bits flow your way!
    "ChuckyLeFrek" <webforumsuser@macromedia.com> wrote in message
    news:dluglp$q1b$1@forums.macromedia.com...
    Hi there

    I have a dynamic text area that is populated from an xml text file.

    I have a problem where a particular sentence is not displaying in full

    i.e "AROUND THE WORLD IN 80 DAYS"

    Only "AROUND THE WORLD IN 80" is displaying

    If I change it to "AROUND THE WORLD IN EIGHTY DAYS" it works.

    Here is my xml code

    <movies>

    <movie>
    <title><![CDATA[AROUND THE WORLD IN 80 DAYS]]></title>
    <when><![CDATA[13 January at 4pm and 9.40pm on Sky Movies 2 <br> 19
    January at 6.55pm and 9.40pm on Sky Movies 6]]></when>
    <description><![CDATA[Phileas Fogg has bet that he can travel around the
    world in 80 days. It?s a good job he?s taken Passepartout (played by Jackie
    Chan) along, because there is plenty of danger along the
    way!]]></description>
    <credit></credit>
    <image1>images/world1.jpg</image1>
    <image2>images/world2.jpg</image2>
    <image3>images/world3.jpg</image3>
    </movie>


    </movies>

    The text area is dynamic, multiline, centered, all set in the IDE. It is
    also set to html. The font used is embedded in the library.

    When I trace the value, it gives the correct value

    i.e

    watchit_mc.movie_title_txt.htmlText =
    Watchit_Movie_Data[currentMovieIndex-1].movie_title;

    trace ("Title = " + Watchit_Movie_Data[currentMovieIndex-1].movie_title);

    I have been trying to fix this for days now.

    Any idea why this is happening? I guess it doesn't like numbers for some
    reason? However another example that includes numbers wors fine

    i.e

    <title><![CDATA[SCOOBY-DOO 2: MONSTERS UNLEASHED]]></title>

    Any help much appreciated

    Thanks

    Paul


    Motion Maker Guest

  4. #3

    Default Re: Restricting number of columns in grid

    Hi Flasher

    take a look here

    [url]http://philflash.inway.fr/example.html[/url]

    hope this help you

    :-D
    Retroboy_mx 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