--- In flexcoders@yahoogroups.com, "[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.
The problem with having only one onComplete event is that there is not just one thing that can happen. There is a result event for when the service returns successfully and a fault event for when it fails. HTH; Amy