Action Script Question:

Download Job Interview Questions and Answers PDF

Do you know how does removal of actual objects and data work in ActionScript?

Action Script Interview Question
Action Script Interview Question

Answer:

- 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;

Download Action Script Interview Questions And Answers PDF

Previous QuestionNext Question
Can you explain what are the differences between JavaScript and ActionScript?How to write a program to create custom list in ActionScript?