How do you kill all processing/variables of a frame in Flash as3?

  • Thread starter Thread starter jonny
  • Start date Start date
J

jonny

Guest
Hello, I have a flash website where each webpage is a separate frame. I am having trouble when a user clicks onto a new page, the old page frame code keeps running and it causes problems. I have tried removing the EventListener for Event.ENTER_FRAME of past frames, but it still doesn't work right.

What is the best way to totally wipe clean a frame (stop the processing of code and clean up all the objects/variables)?

Thanks for your help!
 
Back
Top