How does removal of actual objects and data work in ActionScript?
How does removal of actual objects and data work in ActionScript?
- The reference of an object can be removed by using the delete keyword in the ActionScript.
- The actual objects and data can be removed by using the garbage collector and it allows the checking of the object to take place for the memory space.
- If no memory space is found being allocated then the object gets removed from the memory.
- To manage the memory the application need to have a developed settings like:
var item1:XML=new XML("<node><child/></node>");
delete item1;