Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-20-2004, 08:49 PM   #1
russhuntington
Registered User
 
Join Date: Jun 2003
Location: Reading, UK
Posts: 5
Default Problems accessing text with loadvariables

Hey everybody,

I'm hoping this one is fairly straightforward, but its got me totally confused to say the least.
I'm using loadvariables to get text data from a remote text file, it all seems to work fine when i do the whole ctrl+enter on my machine to test out. However, when i upload the swf to the server and run the webpage, it doesn't get the data. Anyone experience this before? Any suggestions?

I'm using the line:
loadVariables ("http://www.i-finity.co.uk/mst/newsData.txt",
"newsFrame");
to call the data, which works fine when running the site locally.

I'm confused.
russhuntington is offline   Reply With Quote
Old 01-20-2004, 09:04 PM   #2
tg
done
 
Join Date: Jun 2001
Location: portland, or
Posts: 8,106
Default

is the file in your domain? if not then maybe you need to look into:

System.security.allowDomain("www.i-finity.co.uk");

not sure if thats correct or not... but look thru the flash reference, it should explain it to you.
__________________
tg
---
what the hell was i thinking?
tg is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:31 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.