Valeu..... funcionou, eu estava colocando as {}, era só deixar sem !!! Aproveitando, dentro do meu grid, eu fiz isso:
Apresenta o seguinte erro: Attempted access of inaccessible method playSound through a reference with static type rite. <mx:DataGrid dataProvider="{resultados}" id="xmlgrid" x="31" y="362" width="504" enabled="true" editable="false"> <mx:columns> <mx:DataGridColumn headerText="Nome do Arquivo / ID" dataField="cdw_file"/> <mx:DataGridColumn headerText="URL do audio" dataField="{formato.selectedValue}" /> <mx:DataGridColumn headerText="Tempo (Seg)" dataField="cdw_sec" /> <mx:DataGridColumn headerText="Data" dataField="cdw_expires" /> <mx:DataGridColumn headerText="Status" dataField="cdw_status"/> <mx:DataGridColumn headerText="Play"> <mx:itemRenderer> <mx:Component> <mx:Button label="Preview" click="outerDocument.playSound()" x="416" y="259"/> </mx:Component> </mx:itemRenderer> </mx:DataGridColumn> </mx:columns> </mx:DataGrid> Alguem saberia dizer o pq ? Att Lúcio 2009/7/24 Vilmar Spies <vilmarsp...@gmail.com> > nao testei: > var urlRequest:URLRequest = new URLRequest(" > http://www.teste.com.br/audios/ <http://www.teste.com.br/audios/teste.mp3>" > +nomedoinput.text + ".mp3"); > > 2009/7/24 Lucio Batistella <lucky...@gmail.com> > > Tenho a seguinte var: >> >> var urlRequest:URLRequest = new URLRequest(" >> http://www.teste.com.br/audios/teste.mp3"); >> >> >> como que eu coloco ao invez do endereço fixo do mp3, colocar ele vindo >> atraves de um text por exemplo !?!? >> >> Tentei isso mas não vai.. >> >> var urlRequest:URLRequest = new URLRequest("{nomedoinput.text}"); >> >> >> -- >> Lúcio Batistella >> Cel: 11 7837-8582 >> >> >> > > > -- > Vilmar Spies > > ADOTE ESTA CAMPANHA: > > 1. Apague o meu e-mail e o meu nome. > 2. Apague também os endereços dos amigos antes de reenviar. > 3. Encaminhe como cópia oculta (Cco ou Bcc) aos SEUS destinatários. > Agindo sempre assim dificultaremos a disseminação de vírus, spams e > banners. > > > > -- Lúcio Batistella Cel: 11 7837-8582 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---