Removing a *sprite* event listener?

Is this a "legal" API call?

spriteInstance:removeEventListener( "sprite", [targetFunction] )

I don't see it documented anywhere, but it doesn't cause an error either, so apparently Corona recognizes it. This should be the inverse of the documented "spriteInstance:addEventListener( "sprite", [targetFunction] )" which calls a certain event/function when a sprite animation concludes.

Has anybody used the "remove" method on a sprite listener? I'm just assuming this works like any other listener removal, whether it be removing a Runtime listener or a touch listener or whatever...

Brent Sorrentino

views:1063 update:2011/9/29 19:21:19
corona forums © 2003-2011