> Reply to: RE: <lingo-l> Re: rollovers and enterFrame
> use prepareFrame instead of enterframe - enterframe is called
> after the frame has been drawn.
Better yet, don't do it the way you are doing it at all.
Using the frame script to handle scripting that controls
what sprites do to themselves is kind of strange. Also,
I believe that if a sprite is not visible, it doesn't
respond to mouseEnter or rollover.
Another concern is the visible of sprite command is,
or at least used to be, unreliable. Moving another
sprite from offstage would be a better solution,
using invisible buttons to do the rollovers.
Yet another solution, which might not perform well
on slow machines, is to set the sprites' blend to 0
and when you mouseEnter, set the ink to copy.
Attach that script to every sprite on the stage,
rather than a big if statement in the enterFrame
script. It just makes more sense, and will perform
much better.
There are many better and easier ways to accomplish
what you are doing. Also, I recommend not doing your
puppetsprite x, FALSE on startMovie, but instead do
it on the first frame of the movie on prepareFrame.
HTH,
Steven Sacks
[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!]