Skip to main content
Participant
November 30, 2009
Answered

Problem with ENTER_FRAME event from an loaded mc

  • November 30, 2009
  • 2 replies
  • 376 views

I have a UILoader on the main timeline, then I have to load an external mc with a ENTER_FRAME event in it. When I load something else, I found the ENTER_FRAME event is still working. Why doesn't it unload with the mc?

This topic has been closed for replies.
Correct answer kglad

that's as3.  all streams, intervals and events that are not dependent on mouse interaction are still executing.

if you're publishing for fp 10, you can use the loader class and unloadAndStop().  otherwise, you must explicitly stop all steams etc before unloading.

2 replies

Ned Murphy
Legend
November 30, 2009

What are you doing to unload the mc that has the ENTER_FRAME event?

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
November 30, 2009

that's as3.  all streams, intervals and events that are not dependent on mouse interaction are still executing.

if you're publishing for fp 10, you can use the loader class and unloadAndStop().  otherwise, you must explicitly stop all steams etc before unloading.