Alex: I have a main application that loads a module using moduleloader, that module has a user initiated popup.
The main application has a timer that fires off and loads its own popup. The main application's popup's modalTransparencyColor will color the module's popup, but, the main application's modalTransparencyBlur has no affect on the module's popup. This might be a bug. The only workaround I have found fo far is to loop through all of the systemManager's children and manually apply a blur filter like so; var blur:BlurFilter = new BlurFilter(); blur.blurX = 10; blur.blurY = 10; blur.quality = BitmapFilterQuality.MEDIUM; var popUp:IFlexDisplayObject; for (var i:Number=0;i<systemManager.numChildren;i++) { if (systemManager.getChildAt(i) is IFlexDisplayObject) { popUp = systemManager.getChildAt(i) as IFlexDisplayObject; popUp.filters = [blur]; } } The problem with this, is that when I clear the blur later, it gets rid of all filters, including the normal modalTransparency filters in affect from the normal popups. My blur clear code is; for (var i:Number=0;i<systemManager.numChildren;i++) { var popUp:IFlexDisplayObject; if (systemManager.getChildAt(i) is IFlexDisplayObject) { popUp = systemManager.getChildAt(i) as IFlexDisplayObject; popUp.filters = null; } } Paul --- In flexcoders@yahoogroups.com, Alex Harui <aha...@...> wrote: > > I guess I didn't understand your goal. If you blur the systemManager, everything will be blurred. If you put up a modal popup, it should go on top of every existing popup and blur everything below. Make sure you set the childList param to POPUP. > > > On 4/27/10 2:08 PM, "aceoohay" pa...@... wrote: > > > > > > > Well, I no longer get an error, and more stuff gets blurred, but now everything gets blurred, including the titlewindow that is asking for the password. > > I need to blur everything except the titleWindow accepting the password. The original problem was that other modal popups weren't getting blurred, curiously, the modalTransparencyColor was being applied to them. > > My current code looks like this; > > var blur:BlurFilter = new BlurFilter(); > blur.blurX = 10; > blur.blurY = 10; > blur.quality = BitmapFilterQuality.MEDIUM; > DisplayObject(systemManager).filters = [blur]; > evtScreenSaverTimer.stop(); > this.removeEventListener(KeyboardEvent.KEY_DOWN, clearScreenSaverTimer); > this.removeEventListener(MouseEvent.CLICK, clearScreenSaverTimer); > var popScreenSaver:ScreenSaver = new ScreenSaver; > _intScreenSaverTimer = 0; > // popScreenSaver = ScreenSaver(PopUpManager.createPopUp(this,ScreenSaver,true)); > popScreenSaver.setStyle("modalTrasparancy",0.2); > popScreenSaver.setStyle("modalTransparencyBlur",10); > popScreenSaver.setStyle("modalTransparencyColor",0x00ff67); > popScreenSaver.setStyle("modalTransparencyDuration",1500); > PopUpManager.addPopUp(popScreenSaver,this,true); > PopUpManager.centerPopUp(popScreenSaver); > popScreenSaver.init(); > > Paul > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Alex Harui aharui@ wrote: > > > > Yeah, sorry. I forgot that systemManager is an interface. It is also a DisplayObject so try: > > > > DisplayObject(systemManager).filters[blur]; > > > > And to change it periodically, modify the blur and re-assign the entire array. > > > > > > On 4/27/10 10:27 AM, "aceoohay" pauls@ wrote: > > > > > > > > > > > > > > OK, so now I get; > > > > Access of possibly undefined property filters through a reference with static type mx.managers:ISystemManager > > > > on either; > > > > this.systemManager.filters = [blur]; > > or > > systemManager.filters = [blur]; > > > > Paul > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> , "aceoohay" <pauls@> wrote: > > > > > > Alex: > > > > > > The following; > > > > > > var blur:BlurFilter = new BlurFilter(); > > > blur.blurX = 10; > > > blur.blurY = 10; > > > blur.quality = BitmapFilterQuality.MEDIUM; > > > SystemManager.filters = [blur]; > > > > > > compiles with the following error; > > > > > > Access of possibly undefined property filters through a reference with static type Class. > > > > > > on the SystemManager... line. > > > > > > This brings to mind a couple of questions; > > > > > > 1) how to correct the error? > > > > > > 2) Where should this code be running? In the main app, or in the popup? > > > > > > 3) How to turn it off? > > > > > > Paul > > > > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aharui@> wrote: > > > > > > > > I was thinking something like: > > > > > > > > SystemManager.filters = [ new BlurFilter(...) ]; > > > > > > > > > > > > On 4/26/10 10:30 AM, "aceoohay" <pauls@> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > Alex: > > > > > > > > How? > > > > > > > > systemManager.setStyle("modalTransparencyBlur",10) ? > > > > > > > > Paul > > > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> , Alex Harui <aharui@> wrote: > > > > > > > > > > What happens if you apply a filter to systemManager? > > > > > > > > > > > > > > > On 4/26/10 9:50 AM, "aceoohay" <pauls@> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Tom: > > > > > > > > > > How would I go about that? The two issues I see are; > > > > > > > > > > 1) Determine the width & height of the stage. > > > > > > > > > > 2) Create an object with a background that does the blur. I currently have a titlewindow in a canvas, so once I determine the height & width to use I can make the canvas as big as I want, but how do I make the canvas background blurry? > > > > > > > > > > Paul > > > > > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> , Tom Chiverton <tom.chiverton@> wrote: > > > > > > > > > > > > On Monday 26 Apr 2010 16:07:27 you wrote: > > > > > > > Any ideas on how to blur everything including all modal windows. > > > > > > > > > > > > Add a new object the full width/height of the Stage ? > > > > > > > > > > > > -- > > > > > > Helping to revolutionarily e-enable leading-edge virtual magnetic industry- > > > > > > wide interfaces as part of the IT team of the year 2010, '09 and '08 > > > > > > > > > > > > **************************************************** > > > > > > > > > > > > This email is sent for and on behalf of Halliwells LLP. > > > > > > > > > > > > Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. > > > > > > > > > > > > CONFIDENTIALITY > > > > > > > > > > > > This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. > > > > > > > > > > > > For more information about Halliwells LLP visit www.halliwells.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alex Harui > > > > > Flex SDK Team > > > > > Adobe System, Inc. > > > > > http://blogs.adobe.com/aharui > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Alex Harui > > > > Flex SDK Team > > > > Adobe System, Inc. > > > > http://blogs.adobe.com/aharui > > > > > > > > > > > > > > > > > > > > > -- > > Alex Harui > > Flex SDK Team > > Adobe System, Inc. > > http://blogs.adobe.com/aharui > > > > > > > > > -- > Alex Harui > Flex SDK Team > Adobe System, Inc. > http://blogs.adobe.com/aharui >