<?xml version="1.0" encoding="utf-8"?> <!--- Style Sample (id Selector) --> <s:Application xmlns:fx = "http://ns.adobe.com/mxml/2009" xmlns:s = "library://ns.adobe.com/flex/spark" xmlns:mx = "library://ns.adobe.com/flex/halo" minWidth = "1024" minHeight = "768" viewSourceURL = "srcview/index.html" > <fx:Style> #hoge { color : #ff0000; font-size : 40; } #fuga { color : #0000ff; font-size : 40; } </fx:Style> <s:layout> <s:VerticalLayout horizontalAlign="center" /> </s:layout> <s:Button id="hoge" label="hoge" width="300" height="100" /> <s:Button id="fuga" label="fuga" width="300" height="100" /> </s:Application>