there is probably a very simple explaination for this but i am pretty new to flash and actionscript so here it goes…
i used this tutorial ( http://www.kirupa.com/developer/mx/multiple_dynamictext.htm ) to load text from an external source but am getting an error,
the button i am using also needs to load a picture (some code which i got from another thread on these forums) so maybe there a conflict with the code?
heres the code i am using for the button
on (release) {
containerMC.loadPic("[http://webzoom.freewebs.com/pappageorgas/posterFull.jpg](http://webzoom.freewebs.com/pappageorgas/posterFull.jpg)");
}
on (release) {
loadText = new loadVars();
loadText.load("text1.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
imageInfo.html = true;
imageInfo.htmlText = this.mytext;
}
};
}
and here is the error i recieve
Warning Scene=Scene 1, layer=buttons, frame=1:Line 6: Case-insensitive identifier ‘loadVars’ will obscure built-in object ‘LoadVars’.
loadText = new loadVars();
Total ActionScript Errors: 1 Reported Errors: 1
anyone have any ideas???
thanks!