Sprites can have multiple behaviors attached. These are in the
scriptInstanceList property.
If you want to clear ALL behaviors from a sprite, do something like:
sprite(3).scriptInstanceList =[]
Warning - don't do this whilst executing one of those said behaviors - may
create problems. Or you can try it, but if you do have a problem, that
would be where to look.
- Tab
At 05:09 PM 6/7/01 -0300, Fabio wrote:
>Hi,
>
>I'm trying to remove a behavior from a sprite but I'm having some problems...
>I tried
>
>on exitframe me
> sprite(3).script = 0
>end
>
>I thought about using scriptsenabled but I guess that is for movie scripts
>only, and has no effects on behavior...
>If someone could help me, I'd be thankful.
>
>Bye,
>Fabio
[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!]