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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LoadVars - can't get URL from Sun/BEA

Status
Not open for further replies.

ddonofrio

Programmer
Jun 11, 2003
2
US
Movie runs fine locally on PC. When moved to a Sun system running WebLogic, the movie displayus, but the variables are never loaded.

very basic...


var csv = new LoadVars();
csv.sendAndLoad("mis.nyiso.com/public/realtime/realtime_zone_lbmp.csv", csv);


I then have a blank frame, and the following frame I check to see if loaded, if I am I ' gotoAndPlay ' to continue, otherwise I ' gotoAndPlay(blank frame) ' to wait for the load. From the Sun box it never loads.

I tried connecting to this URL from the physical server, and could.
I also tried added the correct MIME types in the web server deployment for Flash, and for CSV. This didnt help.

Not sure what to do here. Wondering if this is a problem with Domains, or something.

Any help is greatly appreciated.

::Dave
 
It's a security issue - if you access the movie using a Web browser, the host for the URL you're loading data from must be in the same subdomain as the movie itself.
 
Thanks! I found this on a tech tip on Macromedia. I did get it working.

Appreciate the response.


cheers.

::Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top