To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-24-2005, 10:19 AM   #1
krolben
Junior Member
 
Join Date: Aug 2005
Posts: 1
Show text created in javascript text editor and saved in xml file

Hi all

I am currently investigating how to show text in flash that is created using a javascript text editor in a CMS. The text is imported from an XML file and you can see an example of the data below.

My problem is that the current version of the text display component I've created for flash has no room for "weird" symbols. This means that a lot of characters are not displayed and somtimes only half the content is displayed.
Preferably, the component should be as good at showing html content as if ws displayed on a normal html webpage.

I also want to be able to load images into the text component. They should be specified in the XML code as simple <img> tags.

Do you have a good idea of a solution or do you know a super solution already made? Preferably a solution that can be used for commercial purposes.


Here is an example of content that should be imported into flash:
<data>
<paragraph id="paragraph1">
<heading><![CDATA[test]]></heading>
<image></image>
<imagedescription><![CDATA[]]></imagedescription>
<body><![CDATA[<h1><font size="3">…Tekstmodul </font></h1>
<p>
<font size="3">Vinens udseende</font>
</p>
<p>
<font size="3">&nbsp;</font>
</p>
<p>
<font size="3">Vinens udseende har stor betydning for, hvilke forventninger vi har til vinen, allerede inden vi dufter til eller smager på vinen. </font>
</p>
<p>
<font size="3">&nbsp;</font>
</p>
<h2>
<u>
<font size="3">Iagttag vinen</font>
</u>
</h2>
<p>
<font size="3">Det er lettest at iagttage vinens farve, når man holder glasset på</font>
</p>
<p>
<font size="3">sdfdsfs</font>
</p>
<ol>
<li>
<div>
<font size="3">dsfdsfdsfs</font>
</div>
</li>
<li>
<div>
<font size="3">sdfdsfs</font>
</div>
</li>
<li>
<div>
<font size="3">dsfds</font>
</div>
</li>
</ol>
<p>
<font size="3">s…</font>
</p>
<p>sdfdsfds&nbsp;</p>
<p>dfsxcvxcvxc</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>asdsa</p><p>&nbsp;</p>]]></body>
<file internal="false">
<linkname></linkname>
<resource></resource>
</file>
</paragraph>
</data>
krolben is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash General Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:32 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.