-
Loading XML with string data containning HTML tags...
I need to keep in a Database all data of my client list, products, etc. Some of the "description" data has to be formatted with HTML tags in order to have Flash display it correctly in a Dynamic TextBox (You know: Lists, Bold Text, "mailto", etc. on the same block of text). At least, that's the only way I know how to format dynamic text on Flash.
So far, I have not been able to load an XML file that would have some text in one of attributes contanning HTML tags. I worked it out putting the text on another file (.txt, saved as UNICODE, by the way), and in the corresponding attribute I just put the path to that file.
This solved the problem of formatted text, but when any changes have to be made to the data, it's just not so dynamic anymore...
Is there a way I can have an XML file capable of handling these HTML tags?
Thanks in advance...
Francisco
Last edited by fpifano; 07-23-2003 at 10:14 AM.
-
Senior Member
-
hi,
i'm not much of a programer but i'm triyng to use images along with the xml examples that you have in your site, can u help me with that?
it's for a portfolio work, and i have to have several pictures with coments.
i'd really apreciate your help on this
how can i add images along with html formated text?
-
Imgs with XML
If you look at that tutorial with the link provided above it will show you how to incorporate HTML into an XML file and from an XML file properly. You need to then find the Image src tags used in HTML and process the request on the swf (flash) side when u parse the data, its as simple as that.
:/
kevin.beckett@future8.co.uk
-
Senior Member
question about the HTML
I put the html inside the XML file and Flash parses the html just fine EXCEPT it will put in random commas throughout the output text
I was following the tupps example on this thread
this is how my outlook in flash looks
There is some ,Bold,
, ,underline,
and even
,italic?,
. Thanks Helen for code to make a
,link
again the html tags work, but they add commas in the text. Why is that?
dduck1934
-
Senior Member
- The right of the People to create Flash movies shall not be infringed. -
-
Senior Member
When you join an array together you can set what the delimiter is, make sure it is set to blank.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|