Copy link to clipboard
Copied
Hi. How can I remove the EventListener of ENTER_FRAME?
You'll have to show the code related to your problem. It sounds like you have your listeners' Classes mixed up.... you somehow have a TimerEvent tied into an ENTER_FRAME
Copy link to clipboard
Copied
Using the same line of code where you added the listener, in place of "addEventListener" substitute "removeEventListener"
Copy link to clipboard
Copied
I tried that. But flash is giving me this error:
1119: Access of possibly undefined property ENTER_FRAME through a reference with static type flash.events:TimerEvent. |
Copy link to clipboard
Copied
You'll have to show the code related to your problem. It sounds like you have your listeners' Classes mixed up.... you somehow have a TimerEvent tied into an ENTER_FRAME
Find more inspiration, events, and resources on the new Adobe Community
Explore Now