I've run into a wierd problem with the actorList used in conjuction with
MIAWs. The scenario is such:
There's a parent script which manages a generic yes-no-cancel dialog box.
The script is instantiated from a behavior attached to a button on the
stage. When it is instantiated, I place a copy in the actorList. In the
MIAW, I have yes, no and cancel buttons. Each has a behavior to send a
mCloseQueryBox message to the actorList along with the name of the button
using call ( "call(#mCloseQueryBox, (the actorList), pButtonValue)" ).
But the message doesn't get through to the instance. And when I check the
actorList from the MIAW (by putting a "put the actorList" statement on
mouseUp) I get an empty list.
Instead, if the I ask the stage to put the actorList ("tell the stage to
put the actorList") it shows the actorList containing the script instance.
Now my question is - do MIAWs and the stage have a separate actorList each?
Doesn't seem to make much sense and I haven't read about such a thing as
yet. Correct me if I'm wrong.
Pranav Negandhi
New Media Applications.
Learnet India Limited, Mumbai.
Phone: 91-22-859 8042 Ext: 410
[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!]