addeventlistener with methods' instances

How would you do something like this:
Runtime:addEventListener(“enterFrame”, myObject:scrollList )

???

I am very confused.

Thanks a lot
[import]uid: 9304 topic_id: 2173 reply_id: 302173[/import]

[code]

myObject = {}
myObject.enterFrame = function(event)
– do stuff
end

Runtime:addEventListener(“enterFrame”, myObject)
[/code] [import]uid: 3953 topic_id: 2173 reply_id: 7158[/import]