Google is your friend bro :) http://www.adobe.com/devnet/flex/quickstart/httpservice/
On Mon, Jul 14, 2008 at 8:42 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Josh McDonald wrote: > Yes I ended up doing that, but I was originally looking for was some > MXML that would do something like this: > urlLoader.addEventListener(Event.COMPLETE, onComplete); > as in "completelistener="myResultHandler()" > > but i realize now that I was wrong. > > I looked at that page many many times but had no idea what the "result" > tag attribute was supposed to do, and no idea how to go about finding > out I think "result" is the wrong word. "oncomplete" would make a lot > more sense. > > Under events, it says the result is " Dispatched when an HTTPService > call returns successfully." . Huh ? I think I know what it means now, > but its almost as if it was written by Bevis and Butthead "Yeah, we'll > call it a result heh heh, the result will be dispatched ha ha." > > A simple example would have saved me about 6 hours. > > > > > > If you look here: > > > > > http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/mxml/HTTPService.html > > > > You can see result and fault are shown up the top for the MXML > definition. So you would have > > > > <mx:HTTPService id="whatever" ... result="myResultHandler()"/> > > > > -Josh > > > > On Mon, Jul 14, 2008 at 3:33 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > There's nothing about event listeners in the code hint for > HTTPservice. > > Maybe I just don't know what to look for. What code is it that > you think > > should work ? > > > > > > > > > > > > > > -- > > "Therefore, send not to know For whom the bell tolls. It tolls for > thee." > > > > :: Josh 'G-Funk' McDonald > > :: 0437 221 380 :: [EMAIL PROTECTED] > > > > Messages in this topic (8) Reply (via web post) | Start a new topic > > Messages > > -- > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]