That error means that you are doing a property call on something which does
not support it. It seems to be an engineering mistake, that it displays the
wrong error text, but that's what it means...
I can only guess at what's producing it...
So I'm guessing. so what.
there are a few places which could produce it
member("ass" & liColumnNum,
"Question").paragraph.[miPlayingParagraph].foreColor
could be that the variable liColumnNum does not exsist, rendering the member
reference useless, that the member does otherwise not exist (has not been
loaded yet), or that the "miPlayingParagraph" is not valid...
glConst.kiNoHilite
glConst is not a valid List variable or it does not contain a property by
the name you are referencing.
Pekka
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Watson, Christopher
> Sent: 4. lokakuuta 2001 3:40
> To: 'Lingo List'
> Subject: <lingo-l> Really Wierd Runtime Script Error
>
>
> I've developed a pretty complex "story reading" Shockwave game that has a
> lot of streamed audio, text highlighting, etc.
>
> Suddenly, on this line of Lingo:
>
> member("ass" & liColumnNum,
> "Question").paragraph[miPlayingParagraph].foreColor = glConst.kiNoHilite
>
> I'm getting the error:
>
> Handler not found in object:
> #getPropRef
>
> Huh, wha? My code doesn't even contain the word "getPropRef"
> anywhere...not
> on that line, and certainly nowhere else (I did a global search). And I
> can't find it anywhere in the Lingo Dictionary, and there's no
> mention of it
> in Macromedia support.
>
> The following facts have been verified in the debugger in authoring mode
> (the error is reproducible in authoring mode and in the browser):
>
> The liColumnNum variable is local, and has the integer value of 1 in it.
> It's initialized in the line immediately before this one. The
> "ass1" member
> of the "Question" castlib exists and is a valid text member. The
> miPlayingParagraph variable is a property of the child object containing
> this script, and it has the integer value of 1. It's initialized
> when an SWA
> member is played. The referenced text member has at least one paragraph of
> text in it when this line is invoked. The glConst variable is global and
> contains a property list which contains a bunch of (45 or 50) constant
> values that I use throughout the game. That global variable is declared at
> the top of the parent script. The kiNoHilite property of that
> property list
> does exist, and has the integer value of 255. I've copied the
> "glConst.kiNoHilite" text from the script itself and pasted it into the
> message box and evaluated it to verify I hadn't typed it wrong.
> The correct
> value is in there. I retyped the entire line just to make sure
> there wasn't
> some funky invisible control character in there. This line of
> Lingo is used
> almost verbatim in the same child object (with the "ass" string changed to
> "kass" to reference a different text member in the samde castlib), and I
> never have any problems with that line. This seems to be the only
> line that
> does it.
>
> What the heck is going on here?
>
> Christopher Watson
> Sr. Software Engineer
> Lightspan, Inc.
>
> [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!]
>
[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!]