# AS GURU WONTED! how to skin textfield of component?

**URL:** <https://forum.kirupa.com/t/as-guru-wonted-how-to-skin-textfield-of-component/27287>\
**Category:** flash\
**Created:** [July 31, 2003, 8:50pm UTC](https://forum.kirupa.com/t/as-guru-wonted-how-to-skin-textfield-of-component/27287 "2003-07-31T20:50:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mediaholic](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mediaholic](https://forum.kirupa.com/u/mediaholic)\
**Post date:** [July 31, 2003, 8:50pm UTC](https://forum.kirupa.com/t/as-guru-wonted-how-to-skin-textfield-of-component/27287/1 "2003-07-31T20:50:04Z")

</div>

i bilding simple BtnComponent which should be skinable.  
i drived my btnClass from FUIComponentClass and i was able to register all other skins over registerSkinElement **but my label textfild refusing to use globalStyleFormat**  
wenn i say on my main timeline  
globalStyleFormat.color=0xffccff;  
**NOTHING HAPPEN**

does anybody knows how to register “color” property of my component to the globalStyleFormat?

i watched it in debuger and under listeners i could see that globalStyleFormat listening to btn\_mc(which is instanc of my comp)\*\* but dispite of that it doesnt work\*\*  
i even tryed to force it inside my comp class-constructor  
over  
**globalStyleFormat.addListener(this);**  
but again nothing happen.  
do i have to do some more inheriting from some other classes or what?  
PLEASE HELP?  
(ok, i know i could do it over textColor property of Text format or over comp-defined parameters but i wont it to be skinnable via Actionscript dynamicly)  
\*\*BEGGING FOR HELP! \*\*
