What does
trace ("Title = " + watchit_mc.movie_title_txt.htmlText);
trace ("Title = " + watchit_mc.movie_title_txt.text);
yield after the assignment?
--
Lon Hosford
www.lonhosford.com May many happy bits flow your way!
[quoted text, click to view] "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