|
-
Senior Member
load text problem
I am trying to load a text file into a dynamic tex box. I have the following code on each button. There are a total of 3 buttons all going into the same box. But i get this error:
The identifier 'loadVars' will not resolve to built-in object 'LoadVars' at runtime.
loadText = new loadVars();
Here is the code:
on (release) {
loadText = new loadVars();
loadText.load ("meetinfo.txt");
loadText.onLoad = function (success)
{
if (success)
{
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|