Hi, its me again!
I met with a problem now. I was trying to implement the Merry-go-round tutorial in OOP. I created a class, had a function exactly like displayPane function. But here’s the problem. The ‘this’ in displayPane is pointing to the class I created. Not to the object I was about to pass this function to. I thought of maybe static will help. But after some more thought I find out that I need to access some of the class object data i created. This really leave me with a hard time. How can I tell AS to point the this to the object I was about to pass this function to. Is there’s any possibility to pass in parameters value while you passing function reference to a variable? (I don’t there’s this possiblity right)
Thanks in advance. Any help is appreciated.