yes, you can do that.
tell the stage
sendSprite(x, #handlerToCall)
end tell
might work better syntax wise.
and you can do it the other way around too.
tell sprite(LDMsprite)
x = returnSomeValueFromThisFunction()
end tell
which will set a local variable in the outer movie that is the result of
the function in the inner movie. so you can check the state of the LDM
that way, and call things from the outer movie based on that state. for
some cases that is better than letting the LDM initiate the activity.
depends on what you want to do.
John Erazo wrote:
>
> Hello everyone.
>
> Is there a way for an LDM to communicate with other sprite(s)
> on the stage? something like....
>
> -- < script from an LDM >------
> tell the stage to tell sprite X to #handlerToCall, {args}
>
> Thanks in advance.
>
> John Erazo
>
> [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!]
--
R. Bhakti Klein
Educational Software R & D
http://www.DLWorkshop.net
��
Baritone, unaffiliated but open to suggestions...
���
"On Earth, you can only do little things;
but you can do them with a lot of Love."
-- Mother Theresa
[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!]