heya!
Thanks for the help in advance. I’m having a problem retrieving xml data from aspx proxies only when the swf is embedded in an HTML page on a staging server. I developed the swf on my local machine, providing urls to the proxy pages via full urls to my local machine (a la, [COLOR=#22229c]http://machinename/sitename/proxypage.aspx)[/COLOR]). While this worked, I need the path to the proxy page to be relative to the html page, so that when it’s on the site, it can still reach the proxy page.
The code looked like this when it worked:
var localProxyPageUrl:String = “http://machinename/sitename/proxypage.aspx”;
var proxyPage:XML = new XML();
proxyPage.ignoreWhite = true;
proxyPage.onLoad = LoadData;
proxyPage.load( localProxyPageUrl );
However, I need it to be something like (which is what I’ve changed it to):
var localProxyPageUrl:String = “proxypage.aspx”;
var proxyPage:XML = new XML();
proxyPage.ignoreWhite = true;
proxyPage.onLoad = LoadData;
proxyPage.load( localProxyPageUrl );
Currently, as long as the HTML page w/ the embedded swf is on my local machine, the 1st version works. When I try the 2nd version on the staging server, the LoadData() function doesn’t succeed. And since the failure doesn’t have any more info than “Loading didn’t work”, I don’t even know how to debug this.
Please help!!!
- O8
PS: Forgot to mention that I tried even putting the absolute url in the 2nd version to the proxy page, to no avail… <sigh>
PPS: The proxy page is in the same folder as the swf & html page…