Because that's simply not the syntax mxmlc uses. You're not listening for an
"onresult" event, you're listening for the "result" event, and Flex is not
javascript.
And now you know that when you want to listen to the "click" event, you need
click="foo()" not onClick="foo()"... It's just the convention in mxml, you
only need to learn it once, and it doesn't seem too onerous to me.
-Josh
On Tue, Jul 15, 2008 at 2:13 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Ok how about "onsuccess" and "onfailure"
>
> The "result", to me is what the service returns, not the function that
> is used if the service returns a result. So result="myResultHandler()"
> seems to me like you are telling the service what to return, which
> doesn't make any sense, and furthermore it seems like the name of the
> function you are using for that, ("myResultHandler()") also doesn't
> make any sense.
>
> onsuccess="myResultHandler()" does make sense.
>
>
>
>
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."
:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]