i can't seem to get it to load a simple html file .. the buttons are
working. i just want to see why it won't load the html at the end of the
code.




text1.onRelease = function ()
{
trace ("B1");
};
text2.onRelease = function ()
{
trace ("b2");
};
text3.onRelease = function ()
{
trace ("b3");
};
text4.onRelease = function ()
{
trace ("b4");
};
text5.onRelease = function ()
{
trace ("b5");
};
text6.onRelease = function ()
{
trace ("b6");
};
text7.onRelease = function ()
{
trace ("b7");
};
text8.onRelease = function ()
{
trace ("b8");
};
text9.onRelease = function ()
{
trace ("b9");
};
text10.onRelease = function ()
{
trace ("b10");
};

textbox.multiline=true;
textbox.wordWrap=true;
textbox.html=true;
textbox.textColor=0xFFFFFF;
var textloader:LoadVars = new LoadVars();
textloader.onData = function(textfile:String)
{
textbox.htmlText=textfile;
};
textloader.load ('data.html');


thanks for the help.