----- Original Message ----- From: "markflex2007" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, November 01, 2008 3:27 AM Subject: [flexcoders] How to pass data to popup window?
> Hi , > > I need pass data from main window to popup > window(mx:titlewindow).Please give me a idea how to do this. > > Please post here if you have a demo code to do this. Open at the flex 3 component explorer. Look at the TitleWindow example. All you need do is add a public variable to the title window, then you can refer to that from the parent after the title window has been created. You can make that public variable bindable to propogate it's value as you wish through binding. This is the no-frills way of doing it - just expose an attribute of the window publicly and refer to it as you would a member of any class. The example already shows how to pass back data to the calling window. Paul > Thanks > > Mark

