At 12:12 PM 6/25/97 GMT, Fabricio Guedes Bissoli wrote:
Hello!
It is a fool question, but I`m trying and don`t know what do. I want
make a sprite invisible and when the rollOver, make this sprite visible. Easy?
I am using this code for this sprite:
on startMovie
puppetSprite 3, TRUE
set the visible of sprite 3 to FALSE
if rollOver(3) then set the visible of sprite 3 to TRUE
end startMovie
The sprite doesn`t invisible!!! Why???
Because you have the rollover check in the startMovie handler. The statement:
if rollover(3) then....
doesn't set up a permanent check, it just checks THAT INSTANT. So, if you're
not rolled over at the beginning of the movie, it won't work.
Try this instead:
on startMovie
set the visible of sprite 3 to FALSE
end
on idle
if rollover(3) then
set the visible of sprite 3 to TRUE
else
set the visible of sprite 3 to FALSE
end if
end
- 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!]