hi
i tried to use the coding from
http://www.nwebb.co.uk/nw_htmlsite/index.php?page=browse_tutorial&tutorial=xmlhtmlcss1&part=1
and for some reason it doesn’t work for me. this is my line of code so far…
//init TextArea component
Profile.html = true;
Profile.wordWrap = true;
Profile.multiline = true;
Profile.label.condenseWhite=true;
//load css
/*UserInfo = new TextField.StyleSheet();
UserInfo.load("UserInfo.css");
Profile.styleSheet = UserInfo;*/
//load in XML
UserInfoContent = new XML();
UserInfoContent.ignoreWhite = true;
UserInfoContent.load("UserInfo.xml");
UserInfoContent.onLoad = function(success)
{
if(success)
{
Profilet.text = UserInfoContent;
}
}
as of now, my xml is called UserInfo.xml, my dynamic text box is called Profile. and the sub line in my xml file is called UserInfo
and nothing shows up in the text box when i test the flash file.
Please let me know of any solutions
Thanks