> I am trying to set the keyboardFocusSprite by reference to a
> field name
> using the following code:
>     set the keyboardFocusSprite =  sprite(member("teamname", "team
> data").spritenum
> The problem is it returns either the number of an empty
> sprite channel or
> the cast membernum. Can you tell me where I am going wrong.

off the top of my pitifully hairless head,

sprite() references something in a channel, so putting the member info in
the () doesn't mean anything. you need to

 set the keyboardFocusSprite =
sprite(numberOfTheChannelContainingYourField)

HTH

Al Hospers
CamberSoft, Inc.
al<at>cambersoft<dot>com
http://www.cambersoft.com

A famous linguist once said:
"There is no language wherein a double
positive can form a negative."

YEAH, RIGHT



[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