all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

LoadVariablesNum URL not working



LoadVariablesNum URL not working Derrick Woo
2/2/2004 8:42:15 PM
flash actionscript: Hi,

On a website on my domain2, I'm using text files stored on my domain1.

Here is the actionscript:
loadVariablesNum("http://www.mydomain1.com/textfiles/bio01.txt", 0);

When testing the swf in Flash MX 2004 the remote txt file, bio01.txt, is
viewable, however

when I upload the swf to the web, everything but the text appears.

What gives?

Re: LoadVariablesNum URL not working Derrick Woo
2/2/2004 10:15:24 PM
Hi,

I am uploading it to a different domain....same server.

If it is security I cannot figure out why it pulled the text file when I was
testing the movie in Flash.

[quoted text, click to view]

Re: LoadVariablesNum URL not working Derrick Woo
2/2/2004 10:18:51 PM
I found the answer here:
http://www.macromedia.com/support/flash/ts/documents/load_xdomain.htm

Thanks all!

[quoted text, click to view]

Re: LoadVariablesNum URL not working Jeckyl
2/3/2004 1:57:27 PM
Are you uploading it to the same domain?

If not, MM Flash Player security may be stopping you from accessing the
file.

If you are, then try not don't use a full url .. use a relative url (eg.
"bio01.txt" if swf and txt file are in same folder).

AddThis Social Bookmark Button