Hi Eva,
>I want the sprite in channel 20 to have a behavior in frame 1 but not in
>frame 2.
>and I want to remove it from the memory (in frame 2) or atleast make it
>inactive.
Well, unless you actually need to remove it from memory (and then the
question is: why?) you can just make it inactive.
In the case you describe the behaviour could be something like:
on exitFrame
if the frame = 1 then
doSomeLingoStuff
end if
end
If the actual activity was inside the if statement (where doSomeLingoStuff
is) then it would only happen on frame 1. On the other hand if you want it
to happen everywhere except in frame 2, you could say something like:
on exitFrame
if the frame <> 2 then
doSomeLingoStuff
end if
end
Is that what you meant?
Cheers
Owen
[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!]