At 5:15 PM -0400 5/2/01, Ian Jempson wrote:
>When I use the ilk() function it seems that instances of a parent script
>are shown as #instance. Since I have a list where any given element may be
>one of three different classes, is there any way that lingo can easily
>return the name of the parent script that any arbitrary object is an
>instance of?
If you are using Director 8 or later, you can access the _script_ property
of any script object instance to find out which castmember it was derived
from.
--
...---===| Terry R. Schussler |===---...
...---===| Chief Investigator |===---...
on visitWebsite yourSelection
coolSites = [ \
#greatSeminars : "http://www.macromediaSEMINARS.com/", \
#directorUniversity: "http://www.directorU.com", \
#freeBehaviors : "http://www.behaviors.com/"]
gotoNetPage coolSites[yourSelection]
end visitWebsite
[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!]