[FMX] getURL issue

I’m probably missing something pretty obvious here, but I just started with ActionScript on Friday (trying to make a client happy). I’ve been digging through these forums until my eyeballs are ready to fall out and can’t find the answer, although I’ve found answers to many other questions here in the last two days - thanks!

Anyway, I’m trying to use getURL to grab an ASP page and pass a querystring. It works dandy on my local computer, doing everything I’d expect it to do. When I upload it to the server, getURL doesn’t anymore. I’ve tried everything I can think of …nothing’s made a difference.

The code I’m using is:
_root[“this”+polyID].onRelease=function(){
   getURL(“http://www.jenweb.net/geo/test.asp”, “_blank”);
}
…in its simplest form. I’ve tried every permutation of targets and ways to pass variables that I can think of.

The movie is over here and the .fla is [URL=http://www.jenweb.net/geo/xml_pull_8.fla]here (32k) .

Thanks for any ideas…

Jennifer

It sounds/ looks like it is on the ASP side.

I checked the site, and when I click on a link, a new window opens up, with that exact URL inside, which means the getURL worked, but inside it says “Action Canceled”, which had to of been done on your ASP script side.

How very bizarre, lostinbeta. I’ve tried three different browsers here (IE 5.5, Netscape 4.76, Mozilla 1.1) and IE 5 on a friend’s machine, and nothing happens. The browser just churns for a second like it’s thinking about it, then stops.

The ASP file that it’s calling is empty …just a blank test file so that it can find the page.

I appreciate your having a look - it’s given me a couple of ideas for places to look for the problem.

Jennifer

I use IE 6 if that helps at all (not IE6 SP1).

Yep, it worked fine, I just clicked on one of the areas, and the window popped open with the URL inside just as your getURL script says to do.

Okay, so I’m a maroon. The error message tipped me off…it was the empty page (completely empty - blank, even) that was throwing it off. Works now.

Thanks!

Jennifer

No problem :slight_smile: