Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Killing off an EventListener — Gideros Forum

Killing off an EventListener

ArtLeeAppsArtLeeApps Member
edited July 2013 in General questions
HI all,

If i create "wordClass". like so:
wordClass = Word.new()

Then within "Word" i start a Listener....
self:addEventListener(Event.ENTER_FRAME, Word.onEnterFrame, self)

If then do this again...
wordClass = Word.new()

Does it kill off the first Listener ? or would making wordClass = nil remove the Listener.

Comments

Sign In or Register to comment.