Hi, I've been looking at this XML to CSS parser:
http://chattyfig.figleaf.com/pipermail/flashcoders/2003-February/062971.html
but I need a htmlText to CSS span class converter, ie:

//my css stylesheet
.stylePixel{
 color: #000000;
 font-family: standard 07_51;
 font-size: 8px;
}

// XML sample
<xml>
<sampletest>[stylePixel]some dummy text[/stylePixel]</sampletest>
</xml>

// htmlText generated by flash
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="standard 07_51" SIZE="8"
COLOR="#000000" LETTERSPACING="0" KERNING="0">some dummy
text</FONT></P></TEXTFORMAT>

Now, I can do it without any problem when I load the XML in flash and apply
the css style, but my app allows the user to change whatever text you have
in an input textfield (previously formated by the css). I want to know how
to convert the htmlText into XML, but using the previously defined styles.

thanks.

Rodrigo
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to