Hi Eel

Attach this behaviour to sprite of any height that will affect the
other sprite's blend:

on exitFrame me
  if inside(the mouseLoc, Sprite(the currentSpriteNum).rect) then
    theTop = sprite(the currentSpriteNum).top
    theHeight = sprite(the currentSpriteNum).height
    percentBlend =((the mouseV - theTop ) * 100 / theHeight) + 1
    sprite("the blend sprite number").blend = percentBlend
    put percentBlend
  else
    sprite("the blend sprite number").blend = 0
  end if
end

Ramesh CT
Team Leader - Multimedia
Phoenix Global Solutions (I) Pvt Ltd
Office: 91 80 6665948 Extn:2169
Mobile: 9844117802
http://www.lingoman.net/



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

Reply via email to