I think this is probably a bug which I'll
go ahead and file. If you leave off the last parameter it will be sent as a
GET. If you need to send POST look into LoadVars.send().
Matt
-----Original Message-----
From: sbyrne_dorado
[mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 4:23 PM
To: [email protected]
Subject: [flexcoders] getURL 3rd
parameter?
I'm trying to understand the parameters of the
Application.getURL
method. The first parameter is a String URL,
and I get that. The
second is a target window (also a String I *guess*
-- the
documentation does not explicitly say so).
The third parameter is a mystery. It's
described as a method, that's
either the GET or POST method. The parameter
is called "variables".
I believe that while the docs ambiguously call it
a method, the
context in which that term is interpreted is that
of HTML Forms, and
so it's either a string "GET" or a
string "POST" value. However,
when I try using "GET", the compiler
complains
There is no property with the
name 'POST'
and when I specify the method as "POST",
the compiler complains:
There is no property with the
name 'GET'
As near as I can tell, there is no correct way to
specify this value.
Please help me understand what should be specified
here. There are no
usage examples that I can find in the
documentation, so maybe nobody
else knows quite how to use it either ;)