Array of loader objects
hi, i'm trying solve problem garbage collection. have function gets called each line of xml read in. in function instaniates new loader var bgloader:loader = new loader, adds event listeners etc etc etc. xml read in function called again , (correct me if i'm wrong) destroy reference loader ie bgloader. if correct, assume not ready gargage collection, including , events attached object? outside of function, can setup array of loader objects? function takes num parameter (which row number) can used index array. hope makes sense someone. thank you
to reference bgloader instances can create array stores references various bgloader instances and/or can use distinct names loader instances.
More discussions in ActionScript 3
adobe
Comments
Post a Comment