Mary,
> on the client side I have
>
> nc.call("sayHelloServer", serverret())
>
> on serverret a, b
> put &a , &b
> end
>
> the server side code is called and lingo do go to "serverret"
> function, However, &a and &b gives blank. a and b gives void. In other
> words, the server side value "flashcom server rocks" does doesn't
> received by lingo. Can anyone tell me the code to do this?
Isn't the second parameter supposed to be an object reference (parent
script, behavior script instance for example; maybe even use a zero to
indicate that your onResult handler is in a movie script???), and that
object is supposed to have an onResult handler waiting to receive any return
data? Try doing that instead of specifying a handler and see if that changes
things. Sorry I don't have specifics, it's been a bit since I mucked about
with FlashComm stuff like this.
Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director and the Shockwave Player
http://www.markme.com/thiggins/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]