Hi Coders, I went to this place and I used the example code to skin buttons in a graphical way.

http://www.adobe.com/devnet/flex/quickstart/skinning_components/ #graphical


this is the code

 <mx:Style>
        Button
        {
            upSkin: Embed("assets/box_closed.png");

            overSkin: Embed("assets/box.png");
            downSkin: Embed("assets/box_new.png");

        }
    </mx:Style>

    <mx:Button/>

    <mx:Text text="Roll over and click the box!"/>

</mx:Application>


Ok, I did it using my own applications, but I was wondering why, when the skinning was successful, the text or the label of the button doesn't appear.

Someone knows why? there is a way to set up the text to appear or the graphical way doesn't allow me to use text?

Regards


Gustavo


Reply via email to