Hi All,

I am writing a reusable behavior to switch cast
members selected by the
users.

property pdisplayText, pswaptext
on getPropertyDescriptionList me
  p_list = [:]
  p_list.addprop(#pdisplayText, [#format: #integer,
#comment: "select
text to Display", #default: 43])
  p_list.addProp(#pswapText, [#format: #member,
#comment: "Select the
text to swap with", #default: void])
 return p_list
end
on beginSprite me
sprite(spriteNum).member = pdislayText
sprite(spriteNum).member = pswapText
end

on mouseUp me
pdisplayText = member(pswapText)
end

For some reason this code does not work. any help
would be appreciated.

ravi

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

[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