1

I need some help. I loaded xml on a movieclip and i also have a button to go to another frame but the xml keeps loadding!! what can i do to remove the xml each time i click on that button?

I'm using flash cs4 AS3.Please help

phwd
  • 19,975
  • 5
  • 50
  • 78

1 Answers1

0

you could just delete your loader content.

delete myLoader.content;

Or once you load you xml content, you could just remove and delete your loader from stage:

removeChild(myLoader);
delete myLoader;
nelsond8
  • 509
  • 3
  • 6