Style Flex

tag, you set the styles by using CSS syntax or a reference to an external file that contains style declarations, as the following example shows:" src="http://www.rntsoft.com/Code/FlexImages/WhenyouusethefxStyletagyousetthestylesbyusingCSSsyntaxorareferencetoanexternalfilethatcontainsstyledeclarationsasthefollowingexampleshows.PNG"

         


    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx">
    
        
    

    
      .myStyle {
         borderColor: red;
      }