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! **