Sorry, that's the price you pay for playing with undocumented stuff.  We
don't guarantee it works from release to release.  It was mx_internal
and thus is unsupported.

 

It is still there, so I think you can do this:

 

import mx.core.mx_internal;

use namespace mx_internal;

var ipm:IPopUpManager
=Singleton.getInstance("mx.managers::IPopUpManager") as IPopUpManager;

var o:Object = ipm;

var p:QName = new QName(mx_internal, "modalWindowClass");

o[p] = MyCustomModalWindowClass;

 

 

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Campbell Anderson
Sent: Thursday, January 11, 2007 4:05 PM
To: [email protected]
Subject: [flexcomponents] Accessing Popupmanagers ModalWindowClass

 

Hi people,

 

Following Michaels fun with singletons, I have been trying to access the
PopupmanagerImpl's modalwindowclass variable to change it. This is
something that could be done in 2.0 but not now in 2.0.1

 

Does anyone know a way around this or do I have to extend and create a
new version/singleton instance of my own PopupManager to change the
modal window type. (argh hope not)

 

Im just wanting to play around with what the modal window behind the
popup does and looks like.

 

Cheers

 

Campbell A.

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/623 - Release Date:
1/11/2007 3:33 PM

 

Reply via email to