I have a UI that is importing external SWFs. The external SWFs call functions in the main class like this:
import actionscript.Interface;
var directionsArr:Array = new Array();
directionsArr[0] = "Click the <b>Forward</b> arrow to continue.";
if (Interface._ui != null) {
Interface._ui.setDirections(directionsArr[0]);
Interface._ui.setBackNext(0,1); // Navigation buttons in UI
Interface._ui.completePage(); // Shared Object is updated
}
How is garbage collection effected by this code? And is it creating a strong reference that is never garbage collected?