That simplifies it and makes it really clear.  I hadn't thought of it that way as far as loading and sending an object a-la "LoadVars" before now
Mani

On 3/29/06, sinatosk <[EMAIL PROTECTED]> wrote:
I think this is what your looking for
 
lets say the id of your HTTPService is called "hs" and I'm assuming you know how to create HTTPServices. so do this
 
function send_params():void
{
    // declare variable "obj" and type is "Object"
    var obj:Object = new Object();
 
    // Set properties ( without the need of type declaration ) and set a value.
    obj['param_name_1'] = 'param value 1';
    obj['param_name_2'] = 'param value 2';
    obj['param_name_3'] = 'param value 3';
 
    // Trigger the HTTPService
    hs.send(obj);
}
 
then all you do later in your AS somewhere you just call to the function "send_params" and thats it :p

Hope this helps and this is just a basic example ( I've not tested this code but that should work. you'll just have to change a few things )
 
On 3/29/06, Dan <[EMAIL PROTECTED] > wrote:
Does it means to submit a html form using post to a mxml file? Does
it works? Coz I am facing the same problem... i am using flex 1.5
seems it doesn't work?

Daniel

--- In flexcoders@yahoogroups.com, "Manuel Saint-Victor"

<[EMAIL PROTECTED]> wrote:
>
> It's using HTTPService Mike Potter also posted an example on his
>

>
> On 3/28/06, arpitmathur_80 <[EMAIL PROTECTED]> wrote:
> >
> >  I cant get HTTP POST to work (i am definitely a flex newbie).
Can
> > anyone help me ?
> >
> > thanks
> > arpit
> >
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >
> >  SPONSORED LINKS
> >   Web site design development<http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=
Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L
-4QTvxB_quFDtMyhrQaHQ>  Computer
> > software development< http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w
2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig
=lvQjSRfQDfWudJSe1lLjHw>  Software
> > design and development< http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development
&w2=Computer+software+development&w3=Software+design+and+development&
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=1pMBCdo3DsJbuU9AEmO1oQ>   Macromedia
> > flex<http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof
tware+development&w3=Software+design+and+development&w4=Macromedia+fl
ex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZ
I36cYzBjw>  Software
> > development best practice< http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=Web+site+design+developm
ent&w2=Computer+software+development&w3=Software+design+and+developme
nt&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166
&.sig=f89quyyulIDsnABLD6IXIw>
> >  ------------------------------

> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your

> >    on the web.
> >
> >    -  To unsubscribe from this group, send an email to:
> >     [EMAIL PROTECTED]<flexcoders-
[EMAIL PROTECTED]>
> >
> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  ------------------------------
> >
>






YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to