I've leaned to do this with xml data but not with html. I figure this should work for what you are trying to accomplish
in youf flash file
1) take a textArea component and drop it on the stage and then convert it to a mc.
2) go into that movie add a layer label it actions. and give the textArea an instance like mytext_mc or something like that.
3) on your action layer paste this code.
Code:
stop();
//int Textarea commponent
mytext_mc.html= true;
mytext_mc.wordWrap = true;
mytext_mc.multiline = true;
mytext_mc.label.condenseWhite = true;
mytext_mc.depthChild0._alpha=0;
//load css
inspire = new TextField.StyleSheet();
inspire.load("CSSolution_text.css");
mytext_mc.styleSheet = inspire;
//load in XML
inspireContent = new XML();
inspireContent.ignoreWhite = true;
inspireContent.load("Home_text.xml");
inspireContent.onLoad = function(success)
{
if(success)
{
mytext_mc.text = inspireContent;
}
}
in your xml file
<tag1>
<info>
<p>
put all of your HTML data here, however there are some html tags that dont function in flash.
</p>
</info>
</tag1>
hopefully this helps