At 01:41 PM 6/25/97 GMT, Fabricio Guedes Bissoli wrote:
Hello, Tab.
I discover what my sprite never make invisible! I wrote only...
on startMovie
puppetSprite 3, TRUE
set the visible of sprite 3 to FALSE
end startMovie
... and this sprite is still visible! How this is
possible? I am working with a pallete of 64k colors. Can this problem exist
because any problem whit my hardware?
No, you need to do an updateStage, but also as someone pointed out, once
invisible the rollover function won't react (or shouldn't react) to it, so
altogether you need something like this:
on startMovie
set the visible of sprite 3 to FALSE
updateStage
end
on idle
if inside(point(the mouseH, the mouseV), the rect of sprite 3) then
set the visible of sprite 3 to TRUE
else
set the visible of sprite 3 to FALSE
end if
end
I may have screwed up the syntax of the 'inside' function but I think that's
what it is.
- Tab
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]