>I have 2 behaviors attached to the same sprite. In one bhv resides the 
>handler getSomeData.
>
>Now I would like to execute getSomeData from within the other script, but 
>without using sendSprite and absolutely no globals.

Andreas--

Try the call command, e.g.:

call (#getSomeData, scriptInstance, parm1, parm2)

There's a little gotcha there, though. Control returns to the calling 
handler when finished. It probably won't affect you, but you have to be 
aware of that if you use it to call a handler in a frame script.


Cordially,
Kerry Thompson
Learning Network


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]

Reply via email to