Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Generic behavior to copy a file
Anatomy of an Alpha Channel
Flash Development
Hex to integer
simInetPro Xtra
Wait for a Keypress
Play different Movies For Different Game Levels
Fireworks Xtra
MediaPlayer Xtra
MPEG Video
MediaMacros Xtras Mall
 

 

 

Project Example XML TextRender v1.3

Added on 3/19/2003

 

Compatibilities:
Mac Parent PC

This item has not yet been rated

Author: Magnamerc

The XMLTextRender object provides a coding interface to the XMLParser Xtra.

Get the source
The XMLTextRender object provides a coding interface to the XMLParser Xtra. XMLTextRender is specifically designed for reading in an XML text string, parsing it via the XMLParser Xtra, and outputting to a textmember. XMLTextRender converts certain XML tags into Director formatting. This allows for tag driven text formatting and is useful in separating content from code.

Changes in Version 1.1:
Four new functions for navigating the XML tree.
The style attribute can be assigned to nodes, so that child nodes can pick up style formatting from their parents.
XTR_TrimLinesRight function to clean up text output.
XTR_DrawNode is now only recursive when parsing formatting elements.
Error handling code has been removed.

Changes in Version 1.2:
Added strikeout, superscript, subscript as possible style values.

Changes in Version 1.3:
Added the XTR_GetCurrentNodeText function. Added the "bullet" tag.

Requires the XMLParser xtra that is provided free from Macromedia.

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail