On Thu, 23 Sep 2004 11:15:23 +1200, Paul Johnson <[EMAIL PROTECTED]> wrote:

I have the following code which successfully creates a window ...

myWindow = mx.managers.PopUpManager.createPopUp
      (
            form1x.rootScreen,
            mx.containers.Window,
            false,
            {
                  title:"My window",
                  contentPath:"form1x"
            }
      );
      myWindow.setSize(320, 240);

I want to address objects within the window after it is created (to set a
text area called message with a form validation prompt)

Don't seem to be able to work out how to address the object.

Any ideas out there?

The contentPath indicates what object to show in the popup window. Therefore, in your example, form1x is the object shown in the popup. I'm assuming that you have already created form1x before you made this call. Of course you'll need to call myWindow.setSize(popupWidth, popupHeight). You are now ready to form1x.message = 'My validation prompt' or whatever.



Chris

---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to