Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
ChuckyLeFrek #1
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
-
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... -
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... -
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 "?? -
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,... -
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... -
Motion Maker #2
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
-
Retroboy_mx #3
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



Reply With Quote

