Set the member's eventPassMode to passAlways using the Flash
Component tab of the Property Inspector, and implement a mouseUp
handler instead of click.

either that, or use code like

on beginSprite me
 s = sprite(me.spriteNum)
 s.setCallback(s, "click", #click, me)
end

on click me
 put "click"
end


by the way:
instead of
 s.setCallback(s, "click", #click, me)
the shorter
 setCallback(s, "click", #click) -- both s and me omitted
seems to work just as good - does anyone have an opinion concerning what would be the "better" syntax?

valentin
[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to