is it possiable apply stylename to <s:span > in flex4? <p>I have RichEditableText component , In this component I have created hyper link label based on condition ,but no need inline style(color font-family) . I want to apply style name(CSS) . is it possible can apply style name for hyper link? Give some idea </p> <pre><code>&lt;s:RichEditableText editable="false" selectable="false" mouseEnabled="{user.isSubscribed}" mouseChildren="{user.isSubscribed}"&gt; &lt;s:content&gt; &lt;s:a click="linkelement1_clickHandler(event)" &gt; &lt;s:span styleName="bodyLinkContent10" &gt;{user.isSubscribed ? "Contact Participant" : "Unavailable"}&lt;/s:span&gt;&lt;/s:a&gt; &lt;/s:content&gt; &lt;/s:RichEditableText&gt; </code></pre> <p>style Name Does not apply ? Could you tell me reason for that ?</p> <p>I tried </p> <pre><code>&lt;s:RichEditableText editable="false" selectable="false" styleName="{user.isSubscribed ? 'bodyLinkContent10':'bodyContentGrey10'" mouseEnabled="{user.isSubscribed}" mouseChildren="{user.isSubscribed}"&gt; &lt;s:content&gt; &lt;s:a click="linkelement1_clickHandler(event)" fontSize="10"&gt;&lt;s:span textDecoration="none" color="{user.isSubscribed ? 0x003399 : 0x666666}"&gt;{user.isSubscribed ? "Contact Participant" : "Unavailable"}&lt;/s:span&gt;&lt;/s:a&gt; &lt;/s:content&gt; &lt;/s:RichEditableText&gt; </code></pre> <p>It is working fine But requirement is apply the CSS only.So any way for apply ?</p>