Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LoadVariables Issue

Status
Not open for further replies.

regansean

Programmer
Jun 29, 2004
3
US
Flash 5

We are using LoadVariables to retrieve data out of a Miva database. The syntax is this:

loadVariables (" "_root.Data1");

The variables are populated and used inside our Flash application. It works perfectly when running anywhere outside our hosting provider.

As soon as we FTP it onto our hosting providers (Aplus.net) server, it no longer retrieves the data. They say it is not a problem on their side, no firewall or closed ports etc. They require an error message to look into it but there is no error message as the response just doesn't seem to come back.

Any thoughts, insight?

Thanks.
Sean
 
OK. I figured it out. The SWF appears to have to be in the exact same location as the URL in the loadVariables. When I moved the SWF to everything worked perfect.

A little strange as I only thought it had to be at the same domain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top