Textrollover color for label


hi,

     possible set textrollover color label control.

 

 

regards,

jayagopal.

hi,

 

you can try this.

 

 

 

<mx:label id="lbl" text="your lable text" rollover="onrollover()" rollout="onrollout()"/>

 

 

        private function onrollover():void
        {
            lbl.setstyle('color',0xff0000);
        }
       
        private function onrollout():void
        {
            lbl.setstyle('color',0x000000);
        }

 

 

 

 

 

 

hope full fill requirement. let me know if have issue this.

 

 

 

 

 

 

 

 

 

 

 

 

with regards,

 

shardul singh bartwal



More discussions in Flex (Read Only)


adobe

Comments