Thanks for the idea Daniel.  Tried it, and it appears that the #data element
of a Flash shared object is an object, not a property list.  So:

tData = gsoConfig.getAprop(#data)

returns an object, which makes the next line not work:

if tData.ilk = #propList then
    tConfigInfo = tData.getAprop(#configInfo)
else
 ..
endif

Only problem is, I don't know how to get the #data object to report whether
or not one of it's child objects exists...

Thanks again!

james


----- Original Message -----
From: "Daniel Plaenitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 1:50 PM
Subject: Re: <lingo-l> Any way to test for the existence of a slot or
attribute in a shared object referenced by Lingo?


> At 10:43 15.01.2003 -0600, you wrote:
> >this, with the idea that
> >-- I would test the tConfigInfo variable to see if it is VOID or not:
> >
> >tConfigInfo = gsoConfig.data.configInfo
>
> tData = gsoConfig.getAprop(#data)
> if tData.ilk = #propList then
>    tConfigInfo = tData.getAprop(#configInfo)
> else
> ..
> endif
>
> ...
>
> best regards
> Daniel Plaenitz
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]

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