11 Replies Latest reply on Aug 5, 2009 7:35 PM by ^^GOUST^^

    label receiving effect  glow


      hi guys,

      I have a question of how a label receiving the glow effect, through a function


      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">




                 <mx:Panel id="panel" width="469" height="415"  headerHeight="90" layout="absolute" horizontalCenter="27" verticalCenter="-10">

                               id="button"  click="{effect()}" x="10" y="208" width="122"



                     <mx:Label id="inform" x="140" y="100.8"  width="86" />


                  public function effect():void

                     //receives the label effect glowImage, I do not know how


              <mx:Glow id="glowImage" duration="1000"
                          alphaFrom="1.0" alphaTo="0.3"
                          blurXFrom="0.0" blurXTo="50.0"
                          blurYFrom="0.0" blurYTo="50.0"