all groups > flash data integration > november 2005 >
You're in the

flash data integration

group:

XML dynamic text - nothing appearing after the number80


XML dynamic text - nothing appearing after the number80 ChuckyLeFrek
11/22/2005 7:17:13 AM
flash data integration: 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
Re: XML dynamic text - nothing appearing after the number80 Motion Maker
11/22/2005 7:38:16 PM
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]
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

Re: Restricting number of columns in grid Retroboy_mx
11/23/2005 7:21:24 PM
Hi Flasher

take a look here

http://philflash.inway.fr/example.html

hope this help you

AddThis Social Bookmark Button