Sergio,

"call.resultHandler" will be called later once the result comes back
from the server.
it is an *asynchronous* call. this means you cannot return the value
in the first function because it will take some time to be available.
take a look at the docs and you will find plenty of examples on how to
handle this type of situations.


On 11/7/05, Sergio Vasquez <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi All!
>
>
>
> I have a problem with return value in my function inside in my class.
>
>
>
> In my class business I have the following function:
>
>
>
>
>
> public function ListBible():String {
>
>                   webservice = DataAcess.wsHelper(Common.getDomain("1"));
>
>                   var call:Object = webservice.GetBookTitles();
>
>                   call.resultHandler = function (event:ResultEvent):Void {
>
>
>
>                         // I want return the value event.result, but only
> see the value inside this scope.
>
>                   }
>
>             }
>
>
>
>
>
>
>
> Another class call this function.
>
>
>
>
>
> Thank You!
>
>
>
>
>
> Sérgio Vasquez,
>
> Analista e Desenvolvedor de Software Hexa Solution
>
> t: +55 (0xx11) 3129 4040
>
> f: +55 (0xx11) 3129 4040
>
> e: [EMAIL PROTECTED]
>
> p: [EMAIL PROTECTED]
>
> w: www.hexasolution.com.br
>
>
>
>  --
>  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
>
>
>  Visit your group "flexcoders" on the web.
>
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>  ________________________________
>


--
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/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