Hi:
The answer to my question is probably obvious to most of you. However, I can’t seem to figure it out and I can’t find any information online because I don’t really know what to look for.
I have create a package that loads an xml file and creates arrays with its values with a for loop.
When I create a new instance of this class in the main timeline, I would like to be able to know when the arrays are finished to be created so that I can use them from the main timeline. I have tried to addEventListener to the instance of the class but it doesn’t work; so I guess there must be something to add to my class - Event dispatcher or something - but concretely, what is it? I can’t seem to find any example.
Thanks,
Didi