This code isn’t working for me. I have written the same thing a bazillion times, but for some reason this isn’t working for me right now…:
this.createEmptyMovieClip("container", -1);
for (ii=0; ii<xml_obj.firstChild.childNodes.length; ii++) {
container.duplicateMovieClip("cp"+ii, ii);
ext = this["cp"+ii];
ext.onPress = function() {
trace("onPress called");
};
}
The MCs load into my scrollPane and everything fine, but they don’t respond to the onPress… Any idea why its not working?