This content has been marked as final. Show 3 replies
Sorry it looks like I might have steered you in the wrong direction on this one. Looks like you don't need the Delegate after all. If I understand what you are trying to do correctly it looks like what I've attached should work. Remember the instance of your class is also a perfectly good object itself so you don't need another object to attach the event handlers to.
It is a little messy to my eye because they are events of the movieclip loader but they look like methods of your loader class. But it works and is easy.
Rothrock thank you for your quick response. I am editing my class now with the update on how i am implementing the event handler methods. I will post the status in a bit.
Excellent. I removed all usage of the Delegate and moved my event methods out of the parenting method and key thing _mcl.addListener(this);
Everything is now working. You were a huge help as I was on the wrong path. Thank you Rothrock.