PDA

View Full Version : Flex CSS



ahmednuaman
June 5th, 2008, 09:39 AM
I'm just trying to apply some CSS to my Flex app and just trying to get my head around it.

Say I had:


<mx:Canvas id="contentContainer" x="0" y="0" width="320" height="390"></mx:Canvas>

Do I apply the CSS like so (in an external stylesheet):


#contentContainer { ... }

ahmednuaman
June 5th, 2008, 09:48 AM
I've got it. I need to use styleName. This acts as the CSS equivalent to class. I do wonder, though, if there's an equivalent to id.