I think in your css, since you're not styling classes like Panel or
Label, you need to use a dot first:
 
.contact{} instead of contact{}
 

Jason Merrill 
Bank of America 
GT&O L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 



 


________________________________

        From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas
        Sent: Tuesday, January 15, 2008 12:35 PM
        To: [email protected]
        Subject: [flexcoders] skinning problem, need help!!
        
        

        
        
        
        Hi I have this code and I was trying to re-skinning some
buttons, with different skins, but something happens and I don't know
what would have happened.

        this is my code

        
        <mx:Style>
        contact 
        {
        upSkin: Embed("lib/skinsButtons1/ContactUp.png");
                overSkin: Embed("lib/skinsButtons1/ContactOver.png");
                downSkin: Embed("lib/skinsButtons1/ContactDown.png");

               
        

         }

        
        

        portFolio
        {
        upSkin: Embed("lib/skinsButtons1/PortFolioUp.png");
                overSkin: Embed("lib/skinsButtons1/PortFolioOver.png");
                downSkin: Embed("lib/skinsButtons1/PortFolioDown.png");
         }
        who
        {
        upSkin: Embed("lib/skinsButtons1/WhoUp.png");
                overSkin: Embed("lib/skinsButtons1/WhoOver.png");
                downSkin: Embed("lib/skinsButtons1/WhoDown.png");
         }
        </mx:Style>
        <mx:Button x="53" y="203" label="Contact" styleName="contact"/>
        <mx:Button x="395" y="203" label="PortFolio"
styleName="portFolio"/>
        <mx:Button x="230" y="203" label="Who we are" styleName="who"/>
        
        
        
        
        
        
        ///and this is my error message in the console//
        
        
        
        
        
        Severity and Description Path Resource Location Creation Time Id
        The type selector 'contact' was not processed, because the type
was not used in the application. LRSAdvertising LRSAdvertising.mxml
Unknown 1200418313203 146
        ///the others are the same , three errors in total.

        HELP!!
        
        
        
        
        Gustavo A. Duenas
        Creative Director
        
        LEFT AND RIGHT SOLUTIONS
        904.  265 0330 - 904. 386 7958
        www.leftandrightsolutions.com
        Jacksonville - Florida





        

         

Reply via email to