lelales
01-17-2007, 02:06 PM
This should be easy because I've done it many times before. But anyway, here it goes. My loadVars traces "done loading" but nothing appears in the text field. Here's my code: PMIBN.onRelease=function()
{
LoadVarsText2 = new LoadVars();
LoadVarsText2.onLoad = function (success)
{
if (success)
{
trace ("done loading");
_root.textMC.textbox1.htmlText = this.about_PMI;
}
else
{
trace ("not loaded");
} // end else if
};
LoadVarsText2.load("http://www.metapps.com/final/textboxload/About_PMI.php");
}
I've also tried: _root.textMC.textbox1.htmlText = this.about_PMI;
no luck. I think it's a targeting issue, but it's so simple, I don't see it. On the main timeline I have a textMC, within the same instance name. And inside of there I have a textbox with the instance name "textbox1." Any ideas?
here's the a link:http://www.metapps.com/final/textboxload/text2.html
here's a link to About_PMI.php: http://www.metapps.com/final/textboxload/About_PMI.php
thanks
{
LoadVarsText2 = new LoadVars();
LoadVarsText2.onLoad = function (success)
{
if (success)
{
trace ("done loading");
_root.textMC.textbox1.htmlText = this.about_PMI;
}
else
{
trace ("not loaded");
} // end else if
};
LoadVarsText2.load("http://www.metapps.com/final/textboxload/About_PMI.php");
}
I've also tried: _root.textMC.textbox1.htmlText = this.about_PMI;
no luck. I think it's a targeting issue, but it's so simple, I don't see it. On the main timeline I have a textMC, within the same instance name. And inside of there I have a textbox with the instance name "textbox1." Any ideas?
here's the a link:http://www.metapps.com/final/textboxload/text2.html
here's a link to About_PMI.php: http://www.metapps.com/final/textboxload/About_PMI.php
thanks