abiramkumar,

I am new to flex as well, but I would try keeping everything on one
application component.  Usually when you use an http service you want
to call a series of objects instead of calling them one by one, say
for example calling a list of photos you have in your folder.  In
addition, try using creationComplete="feedRequest.send()" instead of
the "initialize" call.

Sal

--- In [email protected], "abi27ram" <[EMAIL PROTECTED]> wrote:
>
> hello all,
>       I am new to flex.i don't know how to use httpservice in flex.
> i'm using flexbuilder with jrun server now.
> 
> example.mxml
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
> layout="absolute"  initialize="feedRequest.send()" >
> 
>     <mx:HTTPService 
>         id="feedRequest" method="post"
>         url="login.mxml"
>         useProxy="true"/>
> </mx:Application>
> 
> 
> login.mxml
> 
> <?xml version="1.0"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; >
> 
>     <mx:Panel title="My Application" paddingTop="10" 
> paddingBottom="10"
>         paddingLeft="10" paddingRight="10" >
> 
>         <mx:Label text="Hello World!" fontWeight="bold" 
> fontSize="24" />
> 
>     </mx:Panel>
> </mx:Application>
> 
> 
>     i am not getting any output  or error.
> 
> plz help me
> thanks in advance
> abiramkumar
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to