I was helping a newcomer with a scripting problem, and I found what seems to
be an anomaly in MC's behavior:

He has a script which read:

   put tMyValue into fld "Start"

It generated an error, "Object not found" (actually the error reported was
"Parent not found", which is less clear, but we've come to learn that this
usually means the specified object, not its parent).

Since I was able to guess that this stack was imported from HyperCard, I
tried a hunch which worked:  I recreated the stack as a native MetaCard
file, and it works just fine.

Going back to the HyperCard-imported version, I had to change the script to
specify the layer in order for it to work:

  put tMyValue into card fld "Start"

Normally MC doesn't care whether an object is in a group or not, and will
figure these things out well on its own.  Why would it matter if the stack
was imported from HyperCard?  Is there another factor at play as well that I
may be overlooking?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Multimedia Design and Development for Mac, Windows, UNIX, and the Web
 _____________________________________________________________________
 [EMAIL PROTECTED]                 http://www.FourthWorld.com
 Tel: 323-225-3717           ICQ#60248349            Fax: 323-225-0716



Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to