touch event: pre and post?

Hi,

I’m trying to code a typical button press event.

I want to show the ‘pressed’ button image while the user has the finger on the button, and then perform some action when the finger is lifted.

How can I do this?

Thank you,
Paul [import]uid: 26027 topic_id: 5704 reply_id: 305704[/import]

There’s some good sample code in the interface examples - found the answer!

Thanks,
Paul [import]uid: 26027 topic_id: 5704 reply_id: 19526[/import]