However, there are behaviors in the Library palette that are sprite transitions. You
can apply these to only one sprite if you wish.

I hope those behaviours works between two frames, but I 'm in same frame and when mouse over, those transitions occurs.

Not sure I understand, but you can use the sprite's blend property to fade it out (or back in). Like in this behavior:


---------------------------
property pFading
property pMysprite

on beginSprite me
  pMysprite = sprite(me.spriteNum)
pMysprite.blend = 100
pFading = 0
end

on mouseEnter me
  pFading = 1
end

on mouseLeave me
  pFading = 0
end

on exitFrame me
if pFading then
if pMysprite.blend > 0 then
pMysprite.blend = pMysprite.blend - 5 --(or whatever step you want to assign. This is just a quick, hardcoded example)
else
pMysprite.blend = 0
end if
else
if pMysprite.blend <100 then
pMysprite.blend = pMysprite.blend + 5 --(or whatever step you want to assign. This is just a quick, hardcoded example)
else
pMysprite.blend = 100
end if
end if
end
---------------------------


hth,
Kurt

[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!]

Reply via email to