You need to pass the data as a variable to the popup.  

In your app Script tag do this:

<mx:Script>

var dataPassed;

function showWindow(modal) {
var popup = mx.managers.PopUpManager.createPopUp(_root,
LogonWindow, modal, {deferred: true});

popup.dataPassed = //(whatever you want to pass);
}

And then in your pop up add the variable inside the script there.  
Then you can just call that variable and work with it as you please.

In the popup:
<mx:Script>

var dataPassed;

</mx:Script>

<mx:FormItem label="UserId" required="true">
      <mx:TextInput id="userId" width="150" text="{dataPassed}"/>
</mx:FormItem>



Hope that works for you. 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to