English 中文(简体)
闪S3 - 从父母班到子女班级的分班活动
原标题:Flash AS3 - Dispatching Events from Parent Class to Child Class

我认为,这是一个根本问题,但我似乎无法回避。 基本上,我有A级和B级的父母。 A级即时值班B级,加上添加。 有一个共同的目标,正在从一个java服务器(red5)中更新,该服务器在A类中设有一个活动听众。 我在A类中具有职能,它将通过该共有物体的某些具体最新信息进入B类。 问题在于,当B类的出现时,A类斜线的听众就会再工作。 我没有将活动听众从A中删除。 任何想法?

最佳回答

因此,您的班子似乎与共有物体或或许与 Java服务器连接起来的灯塔? 坦白某一阶层当然不应干预它无法接触的任何东西。

你们需要更仔细地研究B所依赖的东西。 它是否触及全球国家? (从灰色角度说是一件坏事)。 它是否在其建筑商内从事使更新工作停止运作的工作? 它是否继承了上述任何类别? 调查这一点,你也许应当找到罪犯。

问题回答

暂无回答




相关问题
Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

Sorting twodimensional Array in AS3

So, i have a two-dimensional Array of ID s and vote count - voteArray[i][0] = ID, voteArray[i][1] = vote count I want the top 3 voted items to be displayed in different colors, so i have a 2nd Array -...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

What s a good way of deserializing data into mock objects?

I m writing a mock backend service for my flex application. Because I will likely need to add/edit/modify the mock data over time, I d prefer not to generate the data in code like this: var mockData =...

AS3 try/catch out of memory

I m loading a few huge images on my flex/as3 app, but I can t manage to catch the error when the flash player runs out of memory. Here is the what I was thinking might work (I use ???? because i dont ...

热门标签