> on asterAnimate me
> repeat with i = 100 down to 0
> sprite(me.spritenum).blend = i
> updatestage
> end repeat
> end
Repeat loops are icky because they consume all of your CPU and jam up
Director.
Best thing to do would be to put this a prepareFrame handler. Not only will
the blend change at the current frame rate of your movie, but you don't need
the updateStage command either as the prepareFrame stuff is redrawing
already.
on prepareFrame
myBlend = mySprite.blend
myBlend = myBlend - 10
if myBlend < 0 then myBlend = 0
mySprite.blend = myBlend
end
[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!]