My mom always told me to keep my hand out of the cookie jar too. ;-)

Peace, Mike

On 1/11/07, Campbell Anderson <[EMAIL PROTECTED]> wrote:

   Lol yeah tut tut **slaps back of own hand** hehehehe.



Cheers for  the quick reply Alex, will check it out this arbo.



Campbell A.


 ------------------------------

*From:* Alex Harui [mailto:[EMAIL PROTECTED]
*Sent:* Friday, January 12, 2007 1:35 PM
*To:* [email protected]
*Subject:* RE: [flexcomponents] Accessing Popupmanagers ModalWindowClass



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:flexcompone
[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


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

--
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




--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to