Here's a look at a behavior that would set the default blend of a sprite to
10,20,30, or 40.

----Behavior Start-----

-- using Director 8 syntax --

property pBlend, pSprite

on beginSprite me
  pSprite = sprite (me.spritenum)
  pSprite.blend = pBlend
end

on getPropertyDescriptionList me
  return [\
           #pBlend:[\
               #format:#integer,\
               #comment:"Sprite Blend",\
               #default:10,\
               #range, [10,20,30,40] \
                    ]\
          ]
end
-----Behavior End-----

Regards,
Brian Ellertson



[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