-
Senior Member
Uhhh... loadVars??? HELP!!!!!
I am a fairly versed action scripter, but Its definitely nothing to brag about. I have used the "loadVars" object many time before, and have never had a problem. I have not used this feature in a while, but now that I try to do it, it isn't working!
here is my script...
key = new LoadVars;
key.onLoad = DataLoaded;
key.load ("key.txt");
function DataLoaded (success)
{
if (success){
trace (key.my_property);
element ("Edit").text = key.my_property;}
else trace ("failed");
}
when I play the movie, the result window says that it
cannot load the url 'key.txt'
failed
THIS SHOULD WORK!?
Can anyone help me?
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
|