all groups > flash actionscript > november 2004 >
You're in the

flash actionscript

group:

geturl and query


Re: geturl and query ScooterMX
11/15/2004 3:32:07 PM
flash actionscript:
I answered this from your post in macromedia.flash also. You need to give
it the complete url, not a relative one.

like:
getURL("http://www.yoursite.com/somefolder/test2.htm?foo=bar");


[quoted text, click to view]

geturl and query Jaleho
11/15/2004 9:04:10 PM
if I use:

getURL("http://www.google.com?foo=bar");

the address bar reads:

http://www.google.com?foo=bar

but if I have a local file named "test1.htm" and I want to open "test2.htm"
and send it some variables, I try:

getURL("test2.htm?foo=bar");

and the address bar reads:

D:\test2.htm

Since test2.htm needs to know what "foo" is before it can display properly,
I'm stuck.
AddThis Social Bookmark Button