Effects Flex

 
    backgroundColor="white" initialize="initMe()">
    
        
        import flash.utils.Timer;
        [Bindable]
        public var secondsTillDue:int=120;
        public var myTimer:Timer;
        public function initMe():void
        {
            myTimer = new Timer(1000);
            myTimer.addEventListener('timer',warnIfClose);
            myTimer.start();
        }
        public function warnIfClose(event:TimerEvent):void
        {
            secondsTillDue = secondsTillDue - 1;
            if(secondsTillDue < 90)
            {
                myEffect.target = idDueLabel;
                myEffect.play();
            }
        }
      
    

            blurXFrom="0.0" blurXTo="50.0" blurYFrom="0.0" blurYTo="50.0"
        color="0xFF0000" />
            id="idDueLabel" />