Skip to main content
July 25, 2009
Question

Blur the contents of the stage

  • July 25, 2009
  • 1 reply
  • 328 views

Hi,

How would I blur the contents of the stage during loading?

This topic has been closed for replies.

1 reply

July 25, 2009

Figured it out. I guess I was 95%! Working in a Flex AS3 class...

               loader = new Canvas();
               loader.graphics.beginFill(0xCCCCCC);
               loader.graphics.drawRect(0,0,640,480);
               loader.graphics.endFill();
               loader.alpha = .3
               
               loaderBlur.quality = 3.
               loaderBlur.blurX = 10;
               loaderBlur.blurY = 10;
               loader.filters = [loaderBlur];

               mx.core.Application.application.filters = [loaderBlur];
          }