Rajiv Ranjan wrote

> Hi all,
> 
> How can I get a name of script attached to a sprite.
> I mean
> 
> put script(1).scriptInstancelist
> ---- <offspring "LinkSprite" 2 4eb5dc>

Check the 'script' property of the instance - for example:

put sprite(1).scriptInstanceList[1].script
-- (script "aBehaviour")

Luke


[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