Im trying to put a cMovie, a class that I have created, into my array. Only problem is once I do the listener never gets called in order to read in an xml file that I setup upon instantiation of the object. Also by doing it the way that I am am I creating a copy as its inserted into the array or is this a reference? Im still new to flash so bare with me. Thanks ahead of time.Code:for(var i = 0; i < m_nSize; i++) { //trace(xml.ImageSet[i].@src); sImageSet = xml.ImageSet[i].@src; var m:cMovie = new cMovie(sImageSet); m_aMovieSets.push(m); }




Reply With Quote