At 10:26 PM -0400 4/15/01, Kurt Griffin wrote:
>  > David,
>>
>>  You are getting this specific error message because the keyword
>>  "sprite" only takes one parameter - the spriteNumber.  The question
>>  is, what are you trying to say when you keep referencing:
>>
>>  sprite(1, "pictures")   ???
>>
>>  sprite(1)    refers to whatever cast member is in channel 1 in the score.
>
>Not to bust Irv's chops, but actually, "sprite(1).member" refers to whatever
>cast member is in channel 1. sprite(1) has a lot of other, non-member,
>properties that can be referenced through dot syntax.


I consider my chops busted - Kurt is correct.

<snip>

>
>Learning about debugging will help you immensely as well - those error
>messages usually point you toward the problem code (usually... ;)). I
>believe there are a few articles on DOUG related to that subject.
>

Check out my article on using the debugger on DOUG at:

   http://www.director-online.com/accessArticle.cfm?id=871

Irv
-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

[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!]

Reply via email to