[flexcoders] Re: "constructor" like arguments in MXML components?

2007-03-23 Thread Maury Sword
The way I do this is I create a public property of type Object called parentComponent in the Script/AS section of my TitleWindow. Then after I create the PopUp I set the parentComponent. That way I can get at the selectedItem and other information that I may need in the PopUp without passing

[flexcoders] Re: "constructor" like arguments in MXML components?

2007-03-23 Thread tddclare
I talk to myself all the time, so why not do it on FlexCoders? I was thinking more about my problem: I had tried to do something like this: //code here to create new popup of my TitleWindow form, then... myTitleWindow.person = myPerson; But I was getting errors and/or nothing because myTitleWin