roddox
01-13-2003, 07:02 AM
Hello all,
My project is a standalone projector which imports its data in from XML data files and spits the text out into dynamic text fields on the stage. That bit works fine.
What I want to be able to do seems pretty simple: add text formating to this data. For example bold, italic, inserting line breaks etc etc. I really have no idea, but I do know that I want to keep the XML file pretty simple because others will be editing the content later on ( it seemed possible that I could throw a whole lot of HTML inside a CDATA tag or even forget XML and use LoadVars with URLencoded data but I dismissed doing that for the above reason.) I'd prefer my data to be simple XML and all the complexity to be on the actionscript side of things..
I'm sure someone has needed to do this before but i'm clueless... any ideas or example scripts on how to attack this???:confused:
any help appreciated...cheers :)
r.
My project is a standalone projector which imports its data in from XML data files and spits the text out into dynamic text fields on the stage. That bit works fine.
What I want to be able to do seems pretty simple: add text formating to this data. For example bold, italic, inserting line breaks etc etc. I really have no idea, but I do know that I want to keep the XML file pretty simple because others will be editing the content later on ( it seemed possible that I could throw a whole lot of HTML inside a CDATA tag or even forget XML and use LoadVars with URLencoded data but I dismissed doing that for the above reason.) I'd prefer my data to be simple XML and all the complexity to be on the actionscript side of things..
I'm sure someone has needed to do this before but i'm clueless... any ideas or example scripts on how to attack this???:confused:
any help appreciated...cheers :)
r.