Boa tarde, tenho um TitleWindow (janela1) que chama outro TitleWindow
(janela2).

Quando fecho a janela2, ocorre o erro abaixo, parece alguma coisa
sobre foco, mas não dá certo de jeito nenhum.

Fecho a janela assim: PopUpManager.removePopUp(this);

TypeError: Error #1009: Não é possível acessar uma propriedade ou um
método de uma referência de objeto nula.
        at mx.managers::FocusManager/childHideHandler()[E:\dev
\4.0.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:
1744]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks
\projects\framework\src\mx\core\UIComponent.as:12266]
        at mx.core::UIComponent/setVisible()[E:\dev\4.0.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:3038]
        at mx.core::UIComponent/set visible()[E:\dev\4.0.0\frameworks\projects
\framework\src\mx\core\UIComponent.as:2997]
        at mx.controls::Button/http://www.adobe.com/2006/flex/mx/
internal::viewSkinForPhase()[E:\dev\4.0.0\frameworks\projects\framework
\src\mx\controls\Button.as:1953]
        at mx.controls::Button/http://www.adobe.com/2006/flex/mx/
internal::viewSkin()[E:\dev\4.0.0\frameworks\projects\framework\src\mx
\controls\Button.as:1869]
        at mx.controls::Button/updateDisplayList()[E:\dev\4.0.0\frameworks
\projects\framework\src\mx\controls\Button.as:1754]
        at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks
\projects\framework\src\mx\core\UIComponent.as:8531]
        at mx.managers::LayoutManager/validateDisplayList()[E:\dev
\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:
663]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev
\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:
736]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev
\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:
1072]

-- 
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para flexdev@googlegroups.com
Para sair da lista, envie um email em branco para 
flexdev-unsubscr...@googlegroups.com
Mais opções estão disponíveis em http://groups.google.com/group/flexdev

Responder a