Mailing List
Home
Forum Home
MUD Dev - Discussion of MUD system design, development, and implementation
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Special character in Flash XML

Special character in Flash XML

2003-12-11       - By Greg Dunn

 Back
Reply:     1     2     3  

That one burned me for a while.  They trick is to use .nodeValue instead of
the default property.  For example, if you use this:

name = [....]nextSibling.firstChild;

You'll get ' and all that... but if you use:

name = [....]nextSibling.firstChild.nodeValue;

Then you'll get an apostrophe instead of the HTML style tag for it.

Hope this helps!

-Greg


-- --Original Message-- --
From: dirgames-l-bounces@(protected)
[mailto:dirgames-l-bounces@(protected)]On Behalf Of Ben
Sent: Thursday, December 11, 2003 5:02 AM
To: dirgames-l@(protected)
Subject: [dirGames-L] Special character in Flash XML


Hi all,

I've been doing some XML importing in Director, but it seemed that the
XML parser didn't fit our needs, so we decided to use a Flash Object to
import en parse the xml. In the xml file, sometimes strings come up
which contain special character, like '. " &

these character are rendered in director to be contained in a
textfield. All the text comes up nice, but the special characters are
rendered HTML style. Like this: &

Can someone tell me what we've been doing wrong?

Thanks,
Benjamin

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
dirGames-L mailing list  -  dirGames-L@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
dirGames-L mailing list  -  dirGames-L@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l

Earn $52 per hosting referral at Lunarpages.