Macromedia Flex Macromedia Flex
A really Simple Popup Window #2 - Passing Parameters
  Home

Jun 02, 2005 - A really Simple Popup Window #2 - Passing Parameters
Here's how to pass a parameter from a panel to a popupwindow

From Tracy Spratt:

Since this gets asked very often, I have created a full sample, listing below, that uses three different ways to pass data into a title window.

It uses the initobj to pass in several built-in properties plus two user defined properties.

One is a simple string, the other is a reference to the main application that can be used for binding. Note the variable that holds the application reference is typed to the name of the application. this is critical for binding to work correctly.

It also uses the reference to the created pop-up to set a variable in the title window from the main app.

Additional Examples:

- Dialog Requester by Charles Patterson: http://members.cox.net/midian/tutorials/dialog.htm

- Flex 1.5 mx.containers.TitleWindow by Rich Tretola: http://www.ifbin.com/news/2005/12/flex-15-mxcontainerstitlewindow-by.html

 

**** Click To View The Attached File - A really Simple Popup Window #2 - Passing Parameters

File Details
Created On Jun, 02, 2005 by Tariq Ahmed
Last Modified On Dec, 20, 2005 by Tariq Ahmed
Group: Tips and Articles
Flex Versions: All
Category: Components
Type: Tip
Difficulty: Beginner
Keywords: Flex
Comments (2)
December 13, 2005 07:47AM - qwq
w

January 06, 2006 03:11AM - dfg
dfg

You must be logged in to post.