para ser mas claro envio condigo
APLICACION PRINCIPAL
Código Flex :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Button x="261" y="227" label="Enviar Parametro" click="iniciarNueva()"/>
<mx:TextInput x="192" y="197" width="247" id="ti_valor"/>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.managers.PopUpManager;
public function iniciarNueva():void
{
cargarComponente()
}
import componentes.Segunda_Ventana
public function cargarComponente():void
{
var myComponenteUP:Segunda_Ventana
myComponenteUP = new Segunda_Ventana();
PopUpManager.addPopUp(myComponenteUP,this,true);
PopUpManager.centerPopUp(myComponenteUP);
}
]]>
</mx:Script>
</mx:Application>COMPONENTE
Código Flex :
<?xml version="1.0" encoding="utf-8"?> <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="400" height="300" title="Segunda Ventana" showCloseButton="true" close="PopUpManager.removePopUp(this)" creationComplete="PopUpManager.centerPopUp(this)" > <mx:Script> <![CDATA[ import mx.managers.PopUpManager; private var popManager:PopUpManager = new PopUpManager(); ]]> </mx:Script> <mx:TextInput x="139" y="32" id="valor"/> <mx:Text x="10" y="34" text="El valor extraido es:"/> <mx:Button x="157" y="202" label="enviar"/> </mx:TitleWindow>
***************************************************************************
ahora la idea es como envio un valor desde un (<mx:TextInput x="192" y="197" width="247" id="ti_valor"/>)
a un PopUP
y que tambien contiene un TextInput
PORFAVOR ALGUIEN ME AYUDE EN ESTE PROBLEMITA QUE TENGO SALU2S.
