2 questions regarding stylesheets in Flex: 1) is it 'background-image' or 'backgroundImage'?
2) like when we name a style "Button" to apply to all mx:Button, can we do this with custom components, i.e. "ArielsButton" for custom:ArielsButton? --- In [email protected], Ameet Hiremath <[EMAIL PROTECTED]> wrote: > > Hi Venkat, > > Once you include the css file in your application, you can access its class by using, > > styleName="classname" > > > Thanks > Ameet > > -----Original Message----- > From: Venkat Perpati <[EMAIL PROTECTED]> > To: [email protected] > Date: Fri, 19 Oct 2007 04:05:27 +0100 (BST) > Subject: Re: [flexcoders] Use a CSS file in Flex > > > > > > > Hi, > > > > got it. <mx:Style source="http://www.somesite.com/mystyles.css"> is used to include css file in the application . But how to use the style defined in it , is it same as we use in html file > > > > like <tr class="style1" > > > > > can you pls give me an example of how we use the styles after including the CSS file in the application. > > > > regards, > > Venkat Perpati > > > > Peter Connolly <[EMAIL PROTECTED]> wrote: > > Here's how you reference a CSS file: > > > > <mx:Style source="http://www.somesite.com/mystyles.css"> > > > > After that, there's a chapter on CSS in the Flex Developer's Guide. > > > > On 10/18/07, Venkat Perpati <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > Can anyone please tell me how to add a CSS file and use the styles defined in CSS file in the flex application. > > > > > > Thanks in Advance > > > > > > regards, > > > Venkat Perpati. > > > > > > > > > ________________________________ > > Meet people who discuss and share your passions. Join them now. > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------- > > 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here. > > >

