Pessoal, estou recebendo um erro que está me deixando nervoso, tenho um 
titleWindows onde cadastro notícias, são só 4 campos nesse cadastro, quando dou 
TAb pra mudar de campo, dá esse erro:

ArgumentError: Error #2025: O DisplayObject fornecido deve ser filho do 
responsável pela chamada.
 at flash.display::DisplayObjectContainer/getChildIndex()
 at 
mx.core::Container/getChildIndex()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Container.as:2400]
 at 
mx.containers::Panel/getChildIndex()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\containers\Panel.as:1030]
 at fl.managers::FocusManager/getChildIndex()
 at fl.managers::FocusManager/sortByDepth()
 at fl.managers::FocusManager/sortByTabIndex()
 at Array$/_sort()
 at Array/http://adobe.com/AS3/2006/builtin::sort()
 at fl.managers::FocusManager/sortFocusableObjectsTabIndex()
 at fl.managers::FocusManager/sortFocusableObjects()
 at fl.managers::FocusManager/keyDownHandler()

Uso esse mesmo formulário em outros projetos e nunca tive esse erro, nem na 
documentação do AS3 tem o erro 2025, o que pode ser?

A estrutura do MXML é essa:

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml";
    layout="absolute" width="650" height="422"
    xmlns:comp="br.com.sedare.componentes.*"
    close="{PopUpManager.removePopUp(this)}"
    title="Cadastro de Notícias" showCloseButton="true"
    horizontalAlign="center" verticalAlign="middle"
    titleIcon="{iconEnviar}"
    updateComplete="init();">
    
 <mx:Script source="../as3/commonActions.as" />
 <mx:Script source="../as3/popupNoticias.as" />
 
  <mx:RemoteObject id="roAddNoticias" destination="amfphp" 
source="{model.PASTA_RO}.Noticias" showBusyCursor="true">
   <mx:method name="gravaNoticias" result="{AddNoticias(event)}">
    <mx:arguments>
     <not_id>{titulo.text}</not_id>
     <not_data>{not_data.text}</not_data>
     <not_resumo>{resumo.text}</not_resumo>
     <not_conteudo>{conteudoNOT}</not_conteudo> 
    </mx:arguments>
   </mx:method>
  </mx:RemoteObject>
  
  <mx:RemoteObject id="roEditNoticias" destination="amfphp" 
source="{model.PASTA_RO}.Noticias" showBusyCursor="true">
   <mx:method name="editarNoticias" result="{editNoticias(event)}">
    <mx:arguments>
     <not_id>{model.not_ID}</not_id>
     <not_titulo>{titulo.text}</not_titulo>
     <not_data>{not_data.text}</not_data>
     <not_resumo>{resumo.text}</not_resumo>
     <not_conteudo>{conteudoNOT}</not_conteudo> 
    </mx:arguments>
   </mx:method>
  </mx:RemoteObject>   
 
 <mx:VBox verticalGap="3" left="5" top="5" right="5" bottom="5">
   <mx:VBox height="100%" width="100%">
    <mx:HBox width="100%" horizontalAlign="left" verticalAlign="middle">
     <mx:Label text="Titulo:"  width="60" textAlign="right"/>
     <mx:TextInput tabIndex="0" width="100%" borderStyle="solid" id="titulo"/>
    </mx:HBox>
    <mx:HBox width="100%" horizontalAlign="left" verticalAlign="middle">
     <mx:Label text="Data:"  width="60" textAlign="right"/>
     <mx:DateField tabIndex="1" width="150" formatString="DD/MM/YYYY" 
yearNavigationEnabled="true" showToday="true"
      id="not_data" dayNames="['D','S','T','Q','Q','S','S']"
      
monthNames="['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro']"/>
    </mx:HBox>    
    <mx:HBox width="100%" horizontalAlign="left" verticalAlign="top">
     <mx:Label text="Resumo:"  width="60" textAlign="right"/>
     <mx:TextArea tabIndex="2" width="100%" height="69" id="resumo"/>
    </mx:HBox> 
   </mx:VBox>
  <mx:HBox width="100%" horizontalAlign="left" verticalAlign="middle" 
height="100%">
   <mx:RichTextEditor tabIndex="3" width="100%" height="100%" id="materia" 
title="Materia" styleName="meuRichTextEditor">
   </mx:RichTextEditor>
  </mx:HBox>  
 </mx:VBox> 
 <mx:ControlBar horizontalAlign="right">
  <mx:Button id="btnIncluir" label="Salvar" click="testReg();" 
styleName="meuButton"/>
  <mx:Button label="Fechar" click="fecharPopUp()" styleName="meuButton"/>
 </mx:ControlBar>
</mx:TitleWindow>

--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito no Grupo "flexdev" em Grupos do 
Google.
 Para postar neste grupo, envie um e-mail para [email protected]
 Para cancelar a sua inscrição neste grupo, envie um e-mail para [EMAIL 
PROTECTED]
 Para ver mais opções, visite este grupo em 
http://groups.google.com/group/flexdev?hl=pt-BR
-~----------~----~----~----~------~----~------~--~---

Responder a