阅读背景:

Flash AS3 - 将事件从父类调度到子类

来源:互联网 

I think this is a pretty simply problem but I do not seem to be able to pull it off. Basically I have a parent class A, and a child class B. Class A instantiates class B with addChild. There is a shared object which is being updated from a java server (red5) that has an event listener attached to it in class A. I have a function in class A which will pass certain, specific updates from this shared object to class B. The problem occurs is that when class B is instantiated, the event listener from class A doesn't work anymore. I have not removed the event listener from A. Any thoughts? I think this is a pretty simply problem but I d




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: