desculpe, aqui vai (eu nao sabia q era pra usar isso, nao tem link pra
regras ou algo do tipo...)

http://pastebin.com/VDNBAyyU

On 9 nov, 17:42, Principe borodin <[email protected]> wrote:
> estou com 4 combobox, send q o primeiro nao eh selecionado, os outros
> 3 sim...ja tentei varias formas q deram aqui no grupo ( na busca) e
> nada...
>
> <?xml version="1.0" encoding="utf-8"?>
> <ns:MDIWindow xmlns:fx="http://ns.adobe.com/mxml/2009";
>                           xmlns:s="library://ns.adobe.com/flex/spark"
>                           xmlns:mx="library://ns.adobe.com/flex/mx"
>                           xmlns:ns="http://code.google.com/p/flexlib/";
>                           width="800" height="596" dropShadowVisible="true"
> resizable="false" fontFamily="Cambria" fontSize="10"
> titleStyleNameFocus="Titulo"
>                           layout="absolute" title="CAVALEIROS COMUNICAÇÃO - 
> CRUSADE |
> ADICIONANDO CLIENTE" creationComplete="init()" showControls="false" >
>         <fx:Declarations>
>                 <s:RemoteObject id="Clientes" destination="zendamf"
> source="Clientes">
>                         <s:method name="salvar"  fault="faultCadastra(event)"
> showBusyCursor="true"  result="resultCadastra(event)"/>
>                 </s:RemoteObject>
>                 <s:RemoteObject id="Estados" destination="zendamf" 
> source="Estados">
>                         <s:method name="getEstados"  
> fault="faultGetEstados(event)"
> showBusyCursor="true"  result="resultGetEstados(event)"/>
>                 </s:RemoteObject>
>                 <mx:EmailValidator id="emailvalidator" source="{email}"
> property="text" required="true" requiredFieldError="Digite um e-mail
> válido!"/>
>                 <mx:StringValidator id="endv" source="{endereco}" 
> property="text"
> required="true" requiredFieldError="Digite um endereço!"/>
>                 <mx:StringValidator id="responsavelv" property="text"
> source="{responsavel}" required="true" requiredFieldError="Digite o
> nome de um responsável!" minLength="4" tooShortError="Digite pelo
> menos 4 caracteres!" />
>                 <mx:StringValidator id="cepv" property="text" 
> source="{cepcli}"
> required="true" requiredFieldError="Digite um CEP!" tooLongError="A
> quantiadde de caracteres é de 13, incluindo pontos e traços!"
> tooShortError="A quantiadde de caracteres é de 13, incluindo pontos e
> traços!" minLength="10" maxLength="10" />
>                 <mx:StringValidator id="tel1" property="text" 
> source="{telefone}"
> required="true" requiredFieldError="Digite um número de telefone no
> formato '(xx)xxxx-xxxx' !" tooLongError="A quantidade de caracteres é
> de 13, incluindo parênteses e traços!" tooShortError="A quantidade de
> caracteres é de 13, incluindo parênteses e traços!" />
>                 <mx:StringValidator id="numdoc" property="text"
> source="{numdocumento}" required="true" requiredFieldError="Digite o
> número de um documento do cliente!" minLength="11" tooShortError="A
> quantidade mínima é de 11 algarismos!"/>
>                 <mx:StringValidator id="escolha" property="selectedValue"
> invalid="Alert.show('Escolha um tipo de documento do cliente:\nCPF ou
> CNPJ!','CUIDADO',0,this.parentApplication as Sprite)" source="{tipo}"
> required="true" requiredFieldError="Escolha um tipo de cliente!" />
>                 <mx:StringValidator id="estadocli" property="selectedIndex"
> source="{estadocl}" invalid="Alert.show('Escolha um estado!','CUIDADO',
> 0,this.parentApplication as Sprite)" required="true"
> requiredFieldError="Escolha um estado!" />
>
>         </fx:Declarations>
>
>         <fx:Script>
>                 <![CDATA[
>                         import Events.ClienteEvent;
>
>                         import flexlib.mdi.events.MDIWindowEvent;
>
>                         import lib.Mascara;
>
>                         import mx.collections.ArrayCollection;
>                         import mx.controls.Alert;
>                         import mx.core.FlexGlobals;
>                         import mx.events.ValidationResultEvent;
>                         import mx.rpc.events.FaultEvent;
>                         import mx.rpc.events.ResultEvent;
>                         import mx.validators.ValidationResult;
>
>                         import vo.ClienteVO;
>                         import vo.EnderecosClientesVO;
>                         [Bindable]
>                         private var _cliente:ClienteVO = new ClienteVO;
>
>                         private var em:ValidationResultEvent;
>                         private var re:ValidationResultEvent;
>                         private var en:ValidationResultEvent;
>                         private var cep:ValidationResultEvent;
>                         private var numdocv:ValidationResultEvent;
>                         private var tel:ValidationResultEvent;
>                         private var es:ValidationResultEvent;
>                         private var escli:ValidationResultEvent;
>                         [Bindable] private var co:EnderecosClientesVO = new
> EnderecosClientesVO;
>                         [Bindable] private var entrega:EnderecosClientesVO = 
> new
> EnderecosClientesVO;
>                         [Bindable] private var cl:EnderecosClientesVO = new
> EnderecosClientesVO;
>                         [Bindable] private var nt:EnderecosClientesVO = new
> EnderecosClientesVO;
>                         [Bindable] private var estados:ArrayCollection;
>
>                         private function init():void
>                         {
>                                 Estados.getEstados();
>                                 var _telefone1:Mascara = new Mascara;
>                                 _telefone1.campoTexto = telefone;
>                                 _telefone1.pattern = "(00)0000-0000";
>                                 _telefone1.setMascara();
>                                 var _telefone3:Mascara = new Mascara;
>                                 _telefone3.campoTexto = celular;
>                                 _telefone3.pattern = "(00)0000-0000";
>                                 _telefone3.setMascara();
>                                 addEventListener("clienteEdit",clienteEdit);
>                         }
>
>                         private function faultGetEstados(f:FaultEvent):void
>                         {
>                                 
> Alert.show(f.fault.message,f.fault.faultDetail,
> 0,this.parentApplication as Sprite);
>                         }
>
>                         private function resultGetEstados(e:ResultEvent):void
>                         {
>                                 estados = new ArrayCollection(e.result as 
> Array);
>                         }
>
>                         private function clienteEdit(ce:ClienteEvent):void
>                         {
>                                 _cliente.idCliente = ce.data.idCliente;
>                                 _cliente.razaosocial = ce.data.razaosocial;
>                                 _cliente.tipo = ce.data.tipocliente;
>                                 _cliente.numdocumento = ce.data.numdocumento;
>                                 _cliente.nomefantasia = ce.data.nomefantasia;
>                                 _cliente.email = ce.data.email;
>                                 _cliente.inscricaoestadual = 
> ce.data.inscricaoestadual;
>                                 _cliente.inscricaomunicipal = 
> ce.data.inscricaomunicipal;
>                                 _cliente.nextel = ce.data.nextel;
>                                 _cliente.ramoatuacao = ce.data.ramoatuacao;
>                                 _cliente.responsavel  = ce.data.responsavel;
>                                 _cliente.site = ce.data.site;
>                                 _cliente.telefone = ce.data.telefone1;
>                                 _cliente.observacao = ce.data.observacao;
>
>                                 cl.bairro = ce.endcli.bairro;
>                                 cl.cep = ce.endcli.cep;
>                                 cl.complemento = ce.endcli.complemento;
>                                 cl.idEnderecos = ce.endcli.idEnderecos;
>                                 cl.email = ce.endcli.email;
>                                 cl.estados_fk = ce.endcli.estados_fk;
>
>                                 cl.logradouro = ce.endcli.logradouro;
>                                 cl.numero = ce.endcli.numero;
>                                 cl.telefone = ce.endcli.telefone;
>                                 cl.cidade = ce.endcli.cidade;
>                                 estadocl.selectedIndex = int(cl.estados_fk);
>
>                                 
> //Alert.show(cl.estados_fk.toString(),'',0,this.parentApplication
> as Sprite);
>
>                                 co.bairro = ce.endco.bairro;
>                                 co.idEnderecos = ce.endco.idEnderecos;
>                                 co.cep = ce.endco.cep;
>                                 co.complemento = ce.endco.complemento;
>                                 co.contato = ce.endco.contato;
>                                 co.email = ce.endco.email;
>                                 co.estados_fk = ce.endco.estados_fk;
>
>                                 co.logradouro = ce.endco.logradouro;
>                                 co.numero = ce.endco.numero;
>                                 co.telefone = ce.endco.telefone;
>                                 co.cidade = ce.endco.cidade;
>
>                                 entrega.idEnderecos = ce.endentre.idEnderecos;
>                                 entrega.bairro = ce.endentre.bairro;
>                                 entrega.cep = ce.endentre.cep;
>                                 entrega.complemento = ce.endentre.complemento;
>                                 entrega.contato = ce.endentre.contato;
>                                 entrega.email = ce.endentre.email;
>                                 entrega.estados_fk = ce.endentre.estados_fk;
>                                 entrega.logradouro = ce.endentre.logradouro;
>                                 entrega.numero = ce.endentre.numero;
>                                 entrega.telefone = ce.endentre.telefone;
>                                 entrega.cidade = ce.endentre.cidade;
>
>                                 nt.bairro = ce.endnota.bairro;
>                                 nt.idEnderecos = ce.endnota.idEnderecos;
>                                 nt.cep = ce.endnota.cep;
>                                 nt.complemento = ce.endnota.complemento;
>                                 nt.cidade = ce.endnota.cidade;
>                                 nt.email = ce.endnota.email;
>                                 nt.estados_fk = ce.endnota.estados_fk;
>                                 nt.contato = ce.endnota.contato;
>                                 nt.logradouro = ce.endnota.logradouro;
>                                 nt.numero = ce.endnota.numero;
>                                 nt.telefone = ce.endnota.telefone;
>
>                         }
>                         public function get cliente():ClienteVO
>                         {
>                                 return _cliente;
>                         }
>
>                         public function set cliente(value:ClienteVO):void
>                         {
>                                 _cliente = value;
>                         }
>
>                         private function Salvar():void
>                         {
>
>                                 co.bairro = bairrocobranca.text;
>                                 co.cep = cepcobranca.text;
>                                 co.complemento = complementocobranca.text;
>                                 co.contato = contatocobranca.text;
>                                 co.email = emailcobranca.text;
>                                 co.estados_fk =  
> estados[estadocobranca.selectedIndex].idestados;
>                                 co.logradouro = logradourocobranca.text;
>                                 co.numero = int(numerocobranca.text);
>                                 co.telefone = telefonecobranca.text;
>                                 co.cidade = cidadecobranca.text;
>                                 co.tipoendereco = "CO";
>
>                                 //
>                                 entrega.bairro = bairroentrega.text;
>                                 entrega.cep = cepentrega.text;
>                                 entrega.complemento = complementoentrega.text;
>                                 entrega.contato = contatoentrega.text;
>                                 entrega.email = emailentrega.text;
>                                 entrega.estados_fk =
> estados[estadoentrega.selectedIndex].idestados;
>                                 entrega.logradouro = logradouroentrega.text;
>                                 entrega.numero = int(numeroentrega.text);
>                                 entrega.telefone = telefoneentrega.text;
>                                 entrega.tipoendereco = "E";
>                                 entrega.cidade = cidadeentrega.text;
>                                 //
>                                 cl.bairro = bairro.text;
>                                 cl.cep = cepcli.text;
>                                 cl.complemento = complemento.text;
>                                 cl.cidade = cidade.text;
>                                 cl.email = email.text;
>                                 cl.estados_fk = 
> estados[estadocl.selectedIndex].idestados;
>                                 cl.logradouro = endereco.text;
>                                 cl.numero = int(num.text);
>                                 cl.telefone = telefone.text;
>                                 cl.tipoendereco = "CL";
>
>                                 //
>                                 nt.bairro = bairronotafiscal.text;
>                                 nt.cidade = cidadenotafiscal.text;
>                                 nt.cep = cepnotafiscal.text;
>                                 nt.complemento = complementonotafiscal.text;
>
>                                 nt.email = emailnotafiscal.text;
>                                 nt.estados_fk = 
> estados[estadonotafiscal.selectedIndex].idestados;
>                                 nt.logradouro = logradouronotafiscal.text;
>                                 nt.numero = int(numeronotafiscal.text);
>                                 nt.telefone = telefonenotafiscal.text;
>                                 nt.tipoendereco = "NF";
>
>                                 //
>                                 _cliente.tipo = tipo.selectedValue.toString();
>                                 _cliente.numdocumento = numdocumento.text;
>                                 _cliente.nomefantasia = nomefantasia.text;
>
>                                 _cliente.email = email.text;
>                                 _cliente.inscricaoestadual = 
> inscricaoestadual.text;
>                                 _cliente.inscricaomunicipal = 
> inscricaomunicipal.text;
>                                 _cliente.nextel = nextel.text;
>
>                                 _cliente.telefone = telefone.text;
>                                 _cliente.ramoatuacao = ramoatuacao.text;
>                                 _cliente.razaosocial = razaosocial.text;
>                                 _cliente.responsavel  = responsavel.text;
>                                 _cliente.site = site.text;
>
>                                 _cliente.observacao = observacao.text;
>                                 Clientes.salvar(_cliente,cl,nt,entrega,co);
>                                 //}
>                         }
>
>                         private function avancar():void
>                         {
>
>                                 em= emailvalidator.validate();
>                                 re=responsavelv.validate();
>                                 en=endv.validate();
>                                 cep=cepv.validate();
>                                 numdocv=numdoc.validate();
>                                 tel=tel1.validate();
>                                 es=escolha.validate();
>                                 escli=estadocli.validate();
>                                 if((em.type == ValidationResultEvent.VALID) &&
>                                         (re.type == 
> ValidationResultEvent.VALID) &&
>                                         (en.type == 
> ValidationResultEvent.VALID) &&
>                                         (cep.type == 
> ValidationResultEvent.VALID) &&
>                                         (numdocv.type == 
> ValidationResultEvent.VALID) &&
>                                         (tel.type == 
> ValidationResultEvent.VALID) &&
>                                         (escli.type == 
> ValidationResultEvent.VALID) &&
>                                         (es.type == 
> ValidationResultEvent.VALID)
>                                 )
>                                 {
>                                         view.selectedIndex++;
>                                 }
>                         }
>
>                         private function resultCadastra(r:ResultEvent):void
>                         {
>
>                                 if(r.result == true)
>                                 {
>                                         var clienteAdd:ClienteEvent = new 
> ClienteEvent("clienteAdd");
>                                         clienteAdd.cliente = _cliente;
>
> FlexGlobals.topLevelApplication.mdi.windowManager.dispatchEvent(clienteAdd);
>                                         this.close();
>                                 }
>                                 else
>                                 {
>                                         
> Alert.show(r.result.toString(),'',0,this.parentApplication as
> Sprite);
>                                 }
>                         }
>                         private function faultCadastra(f:FaultEvent):void
>                         {
>                                 
> Alert.show(f.fault.toString(),'',0,this.parentApplication as
> Sprite);
>                         }
>                         private function anterior():void
>                         {
>                                 view.selectedIndex--;
>                         }
>
>                         private function selecionarItem ( indice:int ):Object 
> {
>                                 for ( var cont:int = 0; cont < 
> estados.length; cont++ ) {
>                                         if (estados[cont].idestados == 
> indice) {
>                                                 return estados[cont];
>                                         }
>                                 }
>                                 return null;
>                         }
>                 ]]>
>         </fx:Script>
>         <s:RadioButtonGroup id="tipo"/>
>         <mx:ViewStack id="view" width="798" height="557">
>
>                 <s:NavigatorContent>
>                         <s:Image x="21" y="15" source="@Embed('assets/img/
> clientenovo.png')"/>
>                         <s:Label x="60" y="18" color="#4C493B" 
> fontFamily="Cambria"
> fontSize="16" fontWeight="bold" text="{_cliente.idCliente != 0?
> 'EDITANDO CLIENTE - ETAPA 1/2' : 'NOVO CLIENTE - ETAPA 1/2'}"/>
>                         <s:Label x="21" y="74" styleName="CorpoLabel" 
> text="RAZÃO SOCIAL"/>
>                         <s:Label x="242" y="74" styleName="CorpoLabel" 
> text="INSCRIÇÃO
> ESTADUAL"/>
>                         <s:Label x="511" y="74" styleName="CorpoLabel" 
> text="INSCRIÇÃO
> MUNICIPAL"/>
>                         <s:Label x="22" y="158" styleName="CorpoLabel" 
> text="LOGRADOURO"/>
>                         <s:Label x="605" y="159" styleName="CorpoLabel" 
> text="BAIRRO"/>
>                         <s:Label x="277" y="158" styleName="CorpoLabel" 
> text="Nº"/>
>                         <s:Label x="324" y="204" styleName="CorpoLabel" 
> text="CEP"/>
>                         <s:Label x="366" y="158" styleName="CorpoLabel" 
> text="COMPLEMENTO"/
>
>                         <s:Label x="22" y="113" styleName="CorpoLabel" 
> text="NOME FANTASIA"/
>
>                         <s:Label x="385" y="113" styleName="CorpoLabel" 
> text="RESPONSÁVEL"/
>
>                         <s:Label x="22" y="251" styleName="CorpoLabel" 
> text="TELEFONE "/>
>                         <s:Label x="601" y="203" styleName="CorpoLabel" 
> text="ESTADO"/>
>                         <s:Label x="325" y="251" styleName="CorpoLabel" 
> text="CELULAR"/>
>                         <s:Label x="672" y="251" styleName="CorpoLabel" 
> text="ID"/>
>                         <s:Label x="22" y="302" styleName="CorpoLabel" 
> text="RAMO DE
> ATUAÇÃO"/>
>                         <s:Label x="301" y="302" styleName="CorpoLabel" 
> text="E-MAIL"/>
>                         <s:Label x="560" y="302" styleName="CorpoLabel" 
> text="SITE"/>
>                         <s:TextInput id="razaosocial" 
> text="{_cliente.razaosocial}" x="97"
> y="69" width="137" styleName="TextInput"/>
>                         <s:TextInput id="inscricaoestadual"
> text="{_cliente.inscricaoestadual}" toolTip="Somente números, traços e
> ponto" restrict="0-9\-\.\(\)\/" x="352" y="69" width="146"
> styleName="TextInput"/>
>                         <s:TextInput id="inscricaomunicipal"
> text="{_cliente.inscricaomunicipal}" toolTip="Somente números, traços
> e ponto"  restrict="0-9\-\.\(\)\/" x="626" y="69" width="151"
> styleName="TextInput"/>
>                         <s:TextInput id="endereco" text="{cl.logradouro}"   
> x="100" y="153"
> width="163" styleName="TextInput"/>
>                         <s:TextInput id="num" x="295" text="{cl.numero}"  
> toolTip="Somente
> números"  restrict="0-9" y="153" width="35" styleName="TextInput"/>
>                         <s:TextInput id="complemento" text="{cl.complemento}" 
>  x="450"
> y="153" styleName="TextInput"/>
>                         <s:TextInput id="cepcli" x="352" text="{cl.cep}"   
> toolTip="Somente
> números, traços e ponto"   restrict="0-9\-\." y="199" width="150"
> styleName="TextInput"/>
>                         <s:TextInput id="nomefantasia" 
> text="{_cliente.nomefantasia}"
> x="114" y="109" width="234" styleName="TextInput"/>
>                         <s:TextInput id="responsavel" 
> text="{_cliente.responsavel}" x="476"
> y="109" width="301" styleName="TextInput"/>
>                         <s:TextInput id="telefone" text="{_cliente.telefone}" 
> x="98"
> y="246" width="134" restrict="0-9\-\(\)" styleName="TextInput"
> toolTip="Somente números e traços"/>
>                         <s:TextInput id="bairro" text="{cl.bairro}" x="648" 
> y="153"
> width="134"  styleName="TextInput" toolTip="Somente números e traços"/
>
>                         <s:TextInput id="nextel" text="{_cliente.nextel}" 
> toolTip="Somente
> números"  restrict="0-9\*" x="687" y="246" width="90"
> styleName="TextInput"/>
>                         <s:TextInput id="celular"  toolTip="Somente números e 
> traços"
> restrict="0-9\-\(\)" x="377" y="246" width="123" styleName="TextInput"/
>
>                         <s:TextInput id="ramoatuacao" 
> text="{_cliente.ramoatuacao}" x="124"
> y="297" width="162" styleName="TextInput"/>
>                         <s:TextInput id="email" text="{_cliente.email}" 
> x="342" y="297"
> width="205" styleName="TextInput"/>
>                         <s:TextInput id="site" text="{_cliente.site}" x="584" 
> y="297"
> width="193" styleName="TextInput"/>
>                         <s:Label x="21" y="340" styleName="CorpoLabel" 
> text="OBSERVAÇÃO"/>
>                         <s:TextArea id="observacao" 
> text="{_cliente.observacao}" x="94"
> y="339" width="683" height="91"/>
>                         <s:TextInput id="numdocumento" 
> text="{_cliente.numdocumento}"
> toolTip="Somente números, traços e ponto"  restrict="0-9\-\."  x="643"
> y="18" width="133" styleName="TextInput"/>
>                         <s:HGroup x="555" y="16" width="90" height="22"
> horizontalAlign="left" verticalAlign="middle">
>
>                                 <s:RadioButton fontFamily="Calibri" 
> fontSize="12"
> selected="{_cliente.tipo == 'f'?true:false}" id="cpf" label="CPF"
> groupName="tipo" value="f"/>
>                                 <s:RadioButton fontFamily="Calibri" 
> fontSize="12"
> selected="{_cliente.tipo == 'j'?true:false}"  id="cnpj" label="CNPJ"
> groupName="tipo" value="j"/>
>                         </s:HGroup>
>                         <mx:Button x="691" y="533" id="proximo" 
> label="PRÓXIMO"
> styleName="clickForm" click="avancar()"/>
>                         <s:TextInput id="idCliente" 
> text="{_cliente.idCliente}"
> visible="{_cliente.idCliente!=0?true:false}" editable="false" x="426"
> y="17"/>
>                         <s:Button x="611" y="533" label="CANCELAR" 
> click="this.close();"
> styleName="clickForm"/>
>
>                         <s:ComboBox id="estadocl"
> creationComplete="Alert.show(cl.estados_fk.toString(),'',
> 0,this.parentApplication as Sprite)" prompt="Escolha um estado"
> dataProvider="{estados}" labelField="sigla"   x="651" y="198"/>
>                         <s:Label x="24" y="201" styleName="CorpoLabel" 
> text="CIDADE"/>
>                         <s:TextInput id="cidade" text="{cl.cidade}"  x="68" 
> y="196"
> styleName="TextInput"/>
>                 </s:NavigatorContent>
>                 <s:NavigatorContent>
>                         <s:Image x="21" y="15" source="@Embed('assets/img/
> clientenovo.png')"/>
>                         <s:Label x="60" y="18" color="#4C493B" 
> fontFamily="Cambria"
> fontSize="16" fontWeight="bold" text="{_cliente.idCliente != 0?
> 'EDITANDO CLIENTE - ETAPA 2/2 - CONTATOS' : 'NOVO CLIENTE - ETAPA 2/2
> - CONTATOS'}"/>
>                         <s:BorderContainer x="10" y="42" width="778" 
> height="157"
> borderWeight="1"
>                                                            cornerRadius="0" 
> dropShadowVisible="false">
>
>                                 <s:Label x="15" y="82" styleName="CorpoLabel" 
> text="LOGRADOURO"/>
>                                 <s:TextInput id="logradouroentrega" 
> text="{entrega.logradouro}"
> x="96" y="77" width="217" styleName="TextInput"/>
>                                 <s:Label x="349" y="82" 
> styleName="CorpoLabel" text="NÚMERO"/>
>                                 <s:Label x="562" y="82" 
> styleName="CorpoLabel" text="COMPLEMENTO"/
>
>                                 <s:TextInput id="complementoentrega" 
> text="{entrega.complemento}"
> x="649" y="77" width="113" styleName="TextInput"/>
>                                 <s:Label x="15" y="42" styleName="CorpoLabel" 
> text="CONTATO"/>
>                                 <s:TextInput id="contatoentrega" 
> text="{entrega.contato}" x="70"
> y="37" width="243" styleName="TextInput"/>
>                                 <s:Label x="349" y="42" 
> styleName="CorpoLabel" text="TELEFONE"/>
>                                 <s:Label x="6" y="9" fontSize="14" 
> fontWeight="bold"
> styleName="CorpoLabel"
>                                                  text="LOCAL DE ENTREGA DE 
> MATERIAL"/>
>                                 <s:Label x="584" y="42" 
> styleName="CorpoLabel" text="E-MAIL"/>
>                                 <s:TextInput id="emailentrega" 
> text="{entrega.email}" x="625"
> y="37" width="137" styleName="TextInput"/>
>                                 <s:TextInput id="telefoneentrega" 
> text="{entrega.telefone}"
> x="409" y="37" width="133" styleName="TextInput"/>
>                                 <s:Label x="16" y="122" 
> styleName="CorpoLabel" text="BAIRRO"/>
>                                 <s:TextInput id="bairroentrega" 
> text="{entrega.bairro}" x="63"
> y="117" width="147" styleName="TextInput"/>
>                                 <s:Label x="240" y="122" 
> styleName="CorpoLabel" text="CIDADE"/>
>                                 <s:Label x="680" y="122" 
> styleName="CorpoLabel" text="UF"/>
>                                 <s:TextInput id="cidadeentrega" 
> text="{entrega.cidade}" x="284"
> y="117" width="167" styleName="TextInput"/>
>                                 <s:Label x="500" y="122" 
> styleName="CorpoLabel" text="CEP"/>
>                                 <s:TextInput id="cepentrega" 
> text="{entrega.cep}" x="524" y="117"
> width="97" styleName="TextInput"/>
>                                 <s:TextInput id="numeroentrega" 
> text="{entrega.numero}" x="405"
> y="77" width="137" styleName="TextInput"/>
>                                 <s:ComboBox id="estadoentrega"
> selectedIndex="{entrega.estados_fk}" prompt="Escolha um estado"
> dataProvider="{estados}" labelField="sigla"   x="701" y="116"
> width="58"/>
>
>                         </s:BorderContainer>
>                         <s:BorderContainer x="10" y="204" width="778" 
> height="157"
> dropShadowVisible="false">
>
>                                 <s:Label x="15" y="82" styleName="CorpoLabel" 
> text="LOGRADOURO"/>
>                                 <s:TextInput id="logradouronotafiscal" 
> text="{nt.logradouro}"
> x="96" y="77" width="217" styleName="TextInput"/>
>                                 <s:Label x="349" y="82" 
> styleName="CorpoLabel" text="NÚMERO"/>
>                                 <s:Label x="562" y="82" 
> styleName="CorpoLabel" text="COMPLEMENTO"/
>
>                                 <s:TextInput id="complementonotafiscal" 
> text="{nt.complemento}"
> x="649" y="77" width="113" styleName="TextInput"/>
>                                 <s:Label x="15" y="42" styleName="CorpoLabel" 
> text="CONTATO"/>
>                                 <s:TextInput id="contatonotafiscal" 
> text="{nt.contato}" x="70"
> y="37" width="243" styleName="TextInput"/>
>                                 <s:Label x="349" y="42" 
> styleName="CorpoLabel" text="TELEFONE"/>
>                                 <s:Label x="584" y="42" 
> styleName="CorpoLabel" text="E-MAIL"/>
>                                 <s:TextInput id="emailnotafiscal" 
> text="{nt.email}" x="625" y="37"
> width="137" styleName="TextInput"/>
>                                 <s:TextInput id="telefonenotafiscal" 
> text="{nt.telefone}" x="409"
> y="37" width="133" styleName="TextInput"/>
>                                 <s:Label x="16" y="122" 
> styleName="CorpoLabel" text="BAIRRO"/>
>                                 <s:TextInput id="bairronotafiscal" 
> text="{nt.bairro}" x="63"
> y="117" width="150" styleName="TextInput"/>
>                                 <s:Label x="240" y="122" 
> styleName="CorpoLabel" text="CIDADE"/>
>                                 <s:Label x="680" y="122" 
> styleName="CorpoLabel" text="UF"/>
>                                 <s:TextInput id="cidadenotafiscal" 
> text="{nt.cidade}" x="284"
> y="117" width="169" styleName="TextInput"/>
>                                 <s:Label x="500" y="122" 
> styleName="CorpoLabel" text="CEP"/>
>                                 <s:TextInput id="cepnotafiscal" 
> text="{nt.cep}" x="524" y="117"
> width="87" styleName="TextInput"/>
>                                 <s:TextInput id="numeronotafiscal" 
> text="{nt.numero}" x="405"
> y="77" width="137" styleName="TextInput"/>
>                                 <s:ComboBox id="estadonotafiscal" 
> selectedIndex="{nt.estados_fk}"
> prompt="Escolha um estado" dataProvider="{estados}"
> labelField="sigla"   x="701" y="116" width="58"/>
>                                 <s:Label x="6" y="9" fontSize="14" 
> fontWeight="bold"
> styleName="CorpoLabel"
>                                                  text="LOCAL DE ENTREGA DE 
> NOTA FISCAL"/>
>                         </s:BorderContainer>
>                         <s:BorderContainer x="10" y="368" width="778" 
> height="157"
> dropShadowVisible="false">
>
>                                 <s:Label x="15" y="82" styleName="CorpoLabel" 
> text="LOGRADOURO"/>
>                                 <s:TextInput id="logradourocobranca" 
> text="{co.logradouro}" x="96"
> y="77" width="217" styleName="TextInput"/>
>                                 <s:Label x="349" y="82" 
> styleName="CorpoLabel" text="NÚMERO"/>
>                                 <s:Label x="562" y="82" 
> styleName="CorpoLabel" text="COMPLEMENTO"/
>
>                                 <s:TextInput id="complementocobranca" 
> text="{co.complemento}"
> x="649" y="77" width="113" styleName="TextInput"/>
>                                 <s:Label x="15" y="42" styleName="CorpoLabel" 
> text="CONTATO"/>
>                                 <s:TextInput id="contatocobranca" 
> text="{co.contato}" x="70"
> y="37" width="243" styleName="TextInput"/>
>                                 <s:Label x="349" y="42" 
> styleName="CorpoLabel" text="TELEFONE"/>
>                                 <s:Label x="584" y="42" 
> styleName="CorpoLabel" text="E-MAIL"/>
>                                 <s:TextInput id="emailcobranca" 
> text="{co.email}" x="625" y="37"
> width="137" styleName="TextInput"/>
>                                 <s:TextInput id="telefonecobranca" 
> text="{co.telefone}" x="409"
> y="37" width="133" styleName="TextInput"/>
>                                 <s:Label x="16" y="122" 
> styleName="CorpoLabel" text="BAIRRO"/>
>                                 <s:TextInput id="bairrocobranca" 
> text="{co.bairro}" x="63" y="117"
> width="150" styleName="TextInput"/>
>                                 <s:Label x="250" y="122" 
> styleName="CorpoLabel" text="CIDADE"/>
>                                 <s:Label x="680" y="122" 
> styleName="CorpoLabel" text="UF"/>
>                                 <s:TextInput id="cidadecobranca" 
> text="{co.cidade}" x="294"
> y="117" width="160" styleName="TextInput"/>
>                                 <s:Label x="502" y="122" 
> styleName="CorpoLabel" text="CEP"/>
>                                 <s:TextInput id="cepcobranca" text="{co.cep}" 
> x="524" y="117"
> width="87" styleName="TextInput"/>
>                                 <s:TextInput id="numerocobranca" 
> text="{co.numero}" x="405" y="77"
> width="137" styleName="TextInput"/>
>                                 <s:ComboBox id="estadocobranca" 
> selectedIndex="{co.estados_fk}"
> prompt="Escolha um estado" dataProvider="{estados}"
> labelField="sigla"  x="701" y="116" width="58"/>
>                                 <s:Label x="6" y="9" fontSize="14" 
> fontWeight="bold"
> styleName="CorpoLabel"
>                                                  text="LOCAL DE COBRANÇA"/>
>                         </s:BorderContainer>
>                         <mx:Button x="641" y="533" id="volta" label="ANTERIOR"
> styleName="clickForm" click="anterior()"/>
>                         <mx:Button x="718" y="533" id="salva" label="SALVAR"
> styleName="clickForm" click="Salvar()"/>
>                         <s:Button x="561" y="533" label="CANCELAR" 
> click="this.close();"
> styleName="clickForm"/>
>
>                 </s:NavigatorContent>
>         </mx:ViewStack>
>
> </ns:MDIWindow>

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

Responder a