Nope, it doesn't it will generate a binding expression even if you are
trying to bind a constant.
More tragic part of this is that in pure AS compiler doesn't inline
constants either, meaning it doesn't use the constant's value even if it is
a prime type.
http://www.actionscript.org/forums/showthread.php3?t=233985&page=2 (bottom
of the thread).
There has been a discussion about this issue in JIRA:
http://bugs.adobe.com/jira/browse/SDK-21649
But now I'm inclined to think that we should be asking for a better AS
compiler and MXML parser improvements should come next.