[ https://issues.apache.org/jira/browse/FLEX-26634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904286#comment-14904286 ]
Vadim Usoltsev commented on FLEX-26634: --------------------------------------- I can't find the duplicate for this bug. The bug remains in the last 4.14.1 version. > Mxml compiler creates binding to static const property > ------------------------------------------------------ > > Key: FLEX-26634 > URL: https://issues.apache.org/jira/browse/FLEX-26634 > Project: Apache Flex > Issue Type: Bug > Components: .Unspecified - Compiler > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Assignee: Adobe JIRA > > Steps to reproduce: > 1. Assign some flex component property to static constant using curly braces, > for ex. horizontalScrollPolicy="{ScrollPolicy.OFF}" > 2. Compile with -keep switch > 3. Look at the generated .as file - a binding has been created. > > Actual Results: > Binding created for every static const > > Expected Results: > No binding, just assignment. > > Workaround (if any): > Use static const property value, i.e. horizontalScrollPolicy="off" -- This message was sent by Atlassian JIRA (v6.3.4#6332)