Are you asking about the difference between writing
<mx:Application>
<mx:Style>
global { fontSize: 12 }
</mx:Style>
...
</mx:Application>
and writing
<mx:Application>
<mx:Style source="foo.css"/>
...
</mx:Application>
where foo.css contains
global { fontSize: 12 }
?
You're unlikely to notice any difference in compilation speed, although when
you use a separate CSS file the compiler obviously has to read in another file,
which probably takes a few milliseconds if it isn't in the OS's disk cache.
And they compile to the same ActionScript code so there's no runtime difference.
So take your pick. It doesn't matter.
- Gordon
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL
PROTECTED]
Sent: Wednesday, January 17, 2007 11:02 PM
To: [email protected]
Subject: [flexcoders] css's speed
css.css and css in mxml
which one is faster?
________________________________
女友喜欢去的好地方!所有东东吐血价 点击进入有大惊喜!
<http://adtaobao.allyescom/main/adfclick?db=adtaobao&bid=1319,1299,145&cid=29985,198,1&sid=45085&show=ignore&url=http://www.taobao.com/vertical/mall/pro.php>