maguskrool
Technical User
Hi.
I'm working on a project where I have to preload several .swfs. I created a custom class (myLoader) that extends the Loader class and adds it a few string variables with data I need. To each instance's contentLoaderInfo I add event listeners for ProgressEvent.PROGRESS and assign the same event handler function.
The problem is, I need to access the myLoader instance from the event handler, but so far I haven't been able to, not until it finishes loading.
Any help in this matter is very appreciated.
I'm working on a project where I have to preload several .swfs. I created a custom class (myLoader) that extends the Loader class and adds it a few string variables with data I need. To each instance's contentLoaderInfo I add event listeners for ProgressEvent.PROGRESS and assign the same event handler function.
The problem is, I need to access the myLoader instance from the event handler, but so far I haven't been able to, not until it finishes loading.
Any help in this matter is very appreciated.