Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

getURL and GET method

LEGEND ,
Oct 11, 2006 Oct 11, 2006
Hi,

when I execute a getURL from Flash the webpage with it's GET parameters
is opened right. But when I try to do this form the movie in a local
webpage the GET parameters are lost somewhere. Are there any securety
restrictions to the getURL command?

TIA
TOPICS
ActionScript
485
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 11, 2006 Oct 11, 2006
kindly share the code
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 11, 2006 Oct 11, 2006
AnandMX wrote:
> kindly share the code

createEmptyMovieClip("get_mc",this.getNextHighestDepth())

for (n in _level0.data){
t = _global.template.type
if (_level0.data != undefined && t != undefined && t != "save" &&
_global.template.noedit != "1" ){
p = n + "=" + escape(_level0.data);
get_mc = _level0.data;
}
}
url = "editor.html";
get_mc.getURL(url,"_blank","GET");


editor.html ist just opening the same movie but at least local from my
harddisk the GET Method doesn't seem to work anymore.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 11, 2006 Oct 11, 2006
i have the same problem
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 11, 2006 Oct 11, 2006
I tried the same code. It is working perfectly fine..
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 11, 2006 Oct 11, 2006
"GET" for the method, when run on local pc, can't see the query string behind address, anybody else here face the same prob? or anyone know what mistake we did?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 12, 2006 Oct 12, 2006
friendDips wrote:
> I tried the same code. It is working perfectly fine..

Have you run it in a browser or in Flash IDE?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 12, 2006 Oct 12, 2006
ggshow wrote:
> "GET" for the method, when run on local pc, can't see the query string behind address, anybody else here face the same prob? or anyone know what mistake we did?

I guess that it is a Flash securety thing. It would prevent to send
local data to a webserver.

I found this thread an flashkit with similar problems:

http://board.flashkit.com/board/showthread.php?t=652586
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 12, 2006 Oct 12, 2006
I have run it on localhost.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 12, 2006 Oct 12, 2006
LATEST
friendDips wrote:
> I have run it on localhost.

It occurs local with a file path and Flash plugin version 8.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines