Cannot bind to a const for compile-time attributes this is the error that comes, when we try to bind a public static const to a view state state name. When we use a flex 4 sdk.
A very nice explanation is given at https://bugs.adobe.com/jira/browse/SDK-17238
it seems its NAB (Not a Bug) but, a way to enforce Model - view - controller pattern more.
Read the detailed explanation in jira , interesting insight by Mario Juric at the end.